Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 77.88 kB / 21.42 MB, free: 3.074 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001512/0.001512, allocations: 172.2 kB / 24.82 MB, free: 8.922 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.051/1.051, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3004/0.3004, allocations: 34.26 MB / 296.1 MB, free: 0.707 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|v.[0-9,]+..re|v.[0-9,]+..im",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|v.[0-9,]+..re|v.[0-9,]+..im",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 378.5 MB, free: 2.375 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.784e-05/2.948e-05, allocations: 2.312 kB / 378.5 MB, free: 2.371 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.01715/0.01718, allocations: 18.41 MB / 396.9 MB, free: 15.88 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.009539/0.02672, allocations: 4.939 MB / 401.8 MB, free: 10.93 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003778/0.0305, allocations: 195 kB / 402 MB, free: 10.73 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01142/0.04192, allocations: 8.077 MB / 410.1 MB, free: 2.621 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006666/0.04859, allocations: 2.136 MB / 412.3 MB, free: 484 kB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003201/0.05179, allocations: 1.383 MB / 413.6 MB, free: 15.08 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.01307/0.06485, allocations: 12.63 MB / 426.3 MB, free: 2.402 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02275/0.08761, allocations: 16.8 MB / 443.1 MB, free: 1.395 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2084/0.296, allocations: 9.816 MB / 452.9 MB, free: 56.39 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01233/0.3083, allocations: 7.272 MB / 460.2 MB, free: 56.39 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.006173/0.3145, allocations: 1.724 MB / 461.9 MB, free: 56.39 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008277/0.3228, allocations: 1.919 MB / 463.8 MB, free: 56.39 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007005/0.3298, allocations: 3.795 MB / 467.6 MB, free: 56.36 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01135/0.3411, allocations: 4.77 MB / 472.4 MB, free: 54.62 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0166/0.3577, allocations: 12 MB / 484.4 MB, free: 49.8 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.3577, allocations: 0 / 484.4 MB, free: 49.8 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3577, allocations: 0 / 484.4 MB, free: 49.8 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0007617/0.3585, allocations: 1.75 kB / 484.4 MB, free: 49.8 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3296 * Number of variables: 3296 Notification: Performance of Generate backend data structure: time 0.03595/0.3944, allocations: 15.24 MB / 499.6 MB, free: 42.66 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.3945, allocations: 10.06 kB / 499.6 MB, free: 42.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03494/0.4294, allocations: 9.282 MB / 0.497 GB, free: 40.49 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01386/0.4433, allocations: 6.259 MB / 0.5031 GB, free: 37.03 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008245/0.4441, allocations: 0.8903 MB / 0.5039 GB, free: 36.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006883/0.451, allocations: 1.182 MB / 0.5051 GB, free: 35.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03316/0.4841, allocations: 7.451 MB / 0.5124 GB, free: 30.2 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005232/0.4847, allocations: 19.47 kB / 0.5124 GB, free: 30.19 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004662/0.4893, allocations: 497.1 kB / 0.5129 GB, free: 29.71 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005131/0.4898, allocations: 0.657 MB / 0.5135 GB, free: 29.11 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02435/0.5142, allocations: 4.847 MB / 0.5182 GB, free: 25.37 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1002/0.6144, allocations: 44.9 MB / 0.5621 GB, free: 13.94 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01023/0.6246, allocations: 6.308 MB / 0.5683 GB, free: 8.242 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002804/0.6275, allocations: 1.346 MB / 0.5696 GB, free: 6.914 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000409/0.6279, allocations: 296.8 kB / 0.5699 GB, free: 6.621 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.477e-05/0.6279, allocations: 106.5 kB / 0.57 GB, free: 6.504 MB / 442.7 MB Notification: Performance of pre-optimization done (n=653): time 8.486e-06/0.6279, allocations: 0 / 0.57 GB, free: 6.504 MB / 442.7 MB Notification: Performance of matching and sorting (n=653): time 0.007374/0.6353, allocations: 4.063 MB / 0.5739 GB, free: 2.359 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.957e-05/0.6354, allocations: 120.5 kB / 0.574 GB, free: 2.227 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005997/0.6414, allocations: 3.484 MB / 0.5774 GB, free: 15.2 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001508/0.6429, allocations: 129.7 kB / 0.5776 GB, free: 15.06 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003522/0.6464, allocations: 5.008 MB / 0.5825 GB, free: 10.16 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00404/0.6505, allocations: 2.397 MB / 0.5848 GB, free: 7.898 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003272/0.6537, allocations: 1.687 MB / 0.5864 GB, free: 6.352 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.6539, allocations: 480.7 kB / 0.5869 GB, free: 5.879 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001989/0.6558, allocations: 0.8111 MB / 0.5877 GB, free: 5.066 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004374/0.6602, allocations: 5.069 MB / 0.5926 GB, free: 14.48 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009201/0.6694, allocations: 6.712 MB / 0.5992 GB, free: 6.5 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001591/0.6696, allocations: 24 kB / 0.5992 GB, free: 6.477 MB / 474.7 MB Notification: Performance of matching and sorting (n=977) (initialization): time 0.01935/0.6889, allocations: 5.485 MB / 0.6046 GB, free: 1.465 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001178/0.689, allocations: 46.03 kB / 0.6046 GB, free: 1.422 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001956/0.6892, allocations: 91.47 kB / 0.6047 GB, free: 1.336 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001288/0.6905, allocations: 393.5 kB / 0.6051 GB, free: 0.9297 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2253/0.9159, allocations: 1.767 MB / 0.6068 GB, free: 101.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00401/0.9199, allocations: 10.63 MB / 0.6172 GB, free: 91.27 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007432/0.9273, allocations: 0.7397 MB / 0.6179 GB, free: 91.27 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001885/0.9292, allocations: 325.7 kB / 0.6182 GB, free: 91.27 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 414 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (971): * Single equations (assignments): 965 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005342/0.9345, allocations: 0.6817 MB / 0.6189 GB, free: 91.11 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001897/0.9364, allocations: 0.6748 MB / 0.6195 GB, free: 91.11 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007485/0.9439, allocations: 5.505 MB / 0.6249 GB, free: 90.64 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.163e-05/0.9439, allocations: 65.25 kB / 0.625 GB, free: 90.64 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.431e-05/0.944, allocations: 7.281 kB / 0.625 GB, free: 90.63 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.608e-05/0.944, allocations: 34.03 kB / 0.625 GB, free: 90.63 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06158/1.006, allocations: 23.54 MB / 0.648 GB, free: 84.96 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002591/1.006, allocations: 86.22 kB / 0.6481 GB, free: 84.96 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003993/1.01, allocations: 1.326 MB / 0.6494 GB, free: 84.96 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009875/1.011, allocations: 368.8 kB / 0.6497 GB, free: 84.88 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007574/1.012, allocations: 261.8 kB / 0.65 GB, free: 84.88 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003821/1.015, allocations: 10.61 MB / 0.6604 GB, free: 74.64 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.164e-05/1.015, allocations: 132.4 kB / 0.6605 GB, free: 74.64 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01112/1.027, allocations: 9.957 MB / 0.6702 GB, free: 66.89 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003989/1.031, allocations: 1.243 MB / 0.6714 GB, free: 66.52 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001143/1.032, allocations: 240.5 kB / 0.6717 GB, free: 66.52 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002963/1.035, allocations: 279.6 kB / 0.6719 GB, free: 66.51 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008752/1.036, allocations: 0.7618 MB / 0.6727 GB, free: 66.43 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003821/1.036, allocations: 277.3 kB / 0.6729 GB, free: 66.43 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002146/1.038, allocations: 1.476 MB / 0.6744 GB, free: 66.24 MB / 474.7 MB Notification: Performance of sort global known variables: time 5e-08/1.038, allocations: 2.406 kB / 0.6744 GB, free: 66.24 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009732/1.048, allocations: 2.944 MB / 0.6772 GB, free: 65.53 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 389 * Number of states: 1 (currentSource.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (721): * Single equations (assignments): 715 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001379/1.049, allocations: 0.4933 MB / 0.6777 GB, free: 65.38 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008166/1.057, allocations: 5.192 MB / 0.6828 GB, free: 64.11 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.806e-05/1.057, allocations: 15.03 kB / 0.6828 GB, free: 64.11 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0039/1.061, allocations: 3.122 MB / 0.6859 GB, free: 63.01 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005731/1.067, allocations: 1.31 MB / 0.6871 GB, free: 62.9 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03281/1.1, allocations: 20.79 MB / 0.7074 GB, free: 45.61 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005018/1.105, allocations: 3.413 MB / 0.7108 GB, free: 43.29 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003827/1.109, allocations: 0.9151 MB / 0.7117 GB, free: 42.56 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00322/1.112, allocations: 1.378 MB / 0.713 GB, free: 41.37 MB / 474.7 MB Notification: Performance of SimCode: time 1.663e-06/1.112, allocations: 0 / 0.713 GB, free: 41.37 MB / 474.7 MB Notification: Performance of Templates: time 0.3608/1.473, allocations: 83.78 MB / 0.7948 GB, free: 126.3 MB / 0.4948 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.sim & ./ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/SerialConnection/SerialConnection.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.84720813203603]