Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001599/0.001599, allocations: 79.73 kB / 21.25 MB, free: 392 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001927/0.001927, allocations: 162.5 kB / 24.5 MB, free: 3.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.507/1.507, allocations: 177.1 MB / 204.7 MB, free: 9 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors") translateModel(Modelica.Electrical.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 57.23 kB / 325.5 MB, free: 200 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1115, allocations: 53.39 MB / 378.9 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.007659/0.1192, allocations: 5.384 MB / 384.3 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004488/0.1236, allocations: 1.639 MB / 385.9 MB, free: 8.414 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000806/0.1244, allocations: 59.62 kB / 386 MB, free: 8.355 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008618/0.1253, allocations: 325.4 kB / 386.3 MB, free: 8.035 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001522/0.1268, allocations: 381.5 kB / 386.7 MB, free: 7.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008842/0.1277, allocations: 367.5 kB / 387 MB, free: 7.301 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003454/0.1312, allocations: 2.024 MB / 389.1 MB, free: 5.266 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002565/0.1337, allocations: 1.548 MB / 390.6 MB, free: 3.656 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001986/0.1357, allocations: 1.079 MB / 391.7 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002084/0.1378, allocations: 1.159 MB / 392.9 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004305/0.1382, allocations: 308 kB / 393.2 MB, free: 1.109 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009606/0.1392, allocations: 447.7 kB / 393.6 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008079/0.14, allocations: 0.7365 MB / 394.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001292/0.1413, allocations: 1.031 MB / 395.4 MB, free: 14.9 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004527/0.1458, allocations: 3.827 MB / 399.2 MB, free: 11.06 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.1458, allocations: 0 / 399.2 MB, free: 11.06 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1458, allocations: 0 / 399.2 MB, free: 11.06 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001016/0.1459, allocations: 3.938 kB / 399.2 MB, free: 11.05 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.005248/0.1512, allocations: 2.462 MB / 401.7 MB, free: 8.547 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.609e-05/0.1512, allocations: 11.98 kB / 401.7 MB, free: 8.535 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009331/0.1522, allocations: 279.4 kB / 401.9 MB, free: 8.262 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002793/0.155, allocations: 1.27 MB / 403.2 MB, free: 6.961 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001923/0.1552, allocations: 168.9 kB / 403.4 MB, free: 6.793 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003215/0.1555, allocations: 224.1 kB / 403.6 MB, free: 6.574 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005041/0.1605, allocations: 2.633 MB / 406.2 MB, free: 3.871 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.338e-05/0.1606, allocations: 0 / 406.2 MB, free: 3.871 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001961/0.1608, allocations: 92 kB / 406.3 MB, free: 3.781 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001237/0.1609, allocations: 88.53 kB / 406.4 MB, free: 3.691 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004082/0.165, allocations: 2.141 MB / 408.5 MB, free: 1.535 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01137/0.1763, allocations: 6.442 MB / 415 MB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001067/0.1774, allocations: 0.6752 MB / 415.7 MB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001128/0.1785, allocations: 0.5911 MB / 416.2 MB, free: 9.605 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.945e-05/0.1786, allocations: 4.5 kB / 416.3 MB, free: 9.598 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.914e-05/0.1786, allocations: 43.05 kB / 416.3 MB, free: 9.547 MB / 382.1 MB Notification: Performance of pre-optimization done (n=63): time 2.756e-06/0.1786, allocations: 0 / 416.3 MB, free: 9.547 MB / 382.1 MB Notification: Performance of matching and sorting (n=65): time 0.004175/0.1828, allocations: 2.387 MB / 418.7 MB, free: 7.117 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.193e-05/0.1829, allocations: 64 kB / 418.7 MB, free: 7.043 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001044/0.1839, allocations: 0.7853 MB / 419.5 MB, free: 6.246 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.019e-05/0.1839, allocations: 37.7 kB / 419.6 MB, free: 6.203 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007246/0.1847, allocations: 0.9557 MB / 420.5 MB, free: 5.234 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002019/0.1849, allocations: 238 kB / 420.8 MB, free: 5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000225/0.1851, allocations: 146.6 kB / 420.9 MB, free: 4.852 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002246/0.1853, allocations: 390.8 kB / 421.3 MB, free: 4.461 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005946/0.1859, allocations: 357.8 kB / 421.6 MB, free: 4.109 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007818/0.1867, allocations: 0.5829 MB / 422.2 MB, free: 3.434 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001462/0.1882, allocations: 0.9912 MB / 423.2 MB, free: 2.348 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.1882, allocations: 0 / 423.2 MB, free: 2.348 MB / 382.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001937/0.1901, allocations: 1.157 MB / 424.4 MB, free: 1.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.1901, allocations: 10.97 kB / 424.4 MB, free: 1.172 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/0.1901, allocations: 4 kB / 424.4 MB, free: 1.168 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003103/0.1904, allocations: 112.8 kB / 424.5 MB, free: 1.055 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007147/0.1912, allocations: 171.8 kB / 424.7 MB, free: 0.8867 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00255/0.1937, allocations: 2.188 MB / 426.8 MB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000529/0.1942, allocations: 35.97 kB / 426.9 MB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.604e-05/0.1943, allocations: 35.98 kB / 426.9 MB, free: 14.53 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (89): * Single equations (assignments): 86 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001136/0.1955, allocations: 0.6575 MB / 427.6 MB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001794/0.1956, allocations: 83.42 kB / 427.6 MB, free: 13.78 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002061/0.1958, allocations: 103.5 kB / 427.7 MB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-05/0.1959, allocations: 8 kB / 427.8 MB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.1959, allocations: 0 / 427.8 MB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/0.1959, allocations: 3.984 kB / 427.8 MB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003994/0.1999, allocations: 2.228 MB / 430 MB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.1999, allocations: 4 kB / 430 MB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004724/0.2004, allocations: 108 kB / 430.1 MB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002378/0.2006, allocations: 96.72 kB / 430.2 MB, free: 11.17 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.369e-05/0.2007, allocations: 19.98 kB / 430.2 MB, free: 11.15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0022/0.2029, allocations: 2.117 MB / 432.3 MB, free: 8.93 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.164e-06/0.2029, allocations: 8.344 kB / 432.3 MB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002178/0.205, allocations: 1.415 MB / 433.8 MB, free: 7.473 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003703/0.2054, allocations: 151.4 kB / 433.9 MB, free: 7.324 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.658e-05/0.2055, allocations: 19.92 kB / 433.9 MB, free: 7.305 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004135/0.2059, allocations: 48.06 kB / 434 MB, free: 7.258 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001326/0.206, allocations: 60.28 kB / 434 MB, free: 7.199 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.014e-05/0.2061, allocations: 16 kB / 434 MB, free: 7.184 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007793/0.2069, allocations: 0.5458 MB / 434.6 MB, free: 6.641 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2069, allocations: 0 / 434.6 MB, free: 6.641 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001142/0.208, allocations: 299.9 kB / 434.9 MB, free: 6.348 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (inductor.inductor[2].i,inductor.inductor[3].i) * 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 (55): * Single equations (assignments): 52 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002804/0.2083, allocations: 139.1 kB / 435 MB, free: 6.203 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001696/0.21, allocations: 0.9725 MB / 436 MB, free: 5.215 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.21, allocations: 0 / 436 MB, free: 5.215 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008927/0.2109, allocations: 0.5363 MB / 436.5 MB, free: 4.668 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00103/0.2119, allocations: 215.2 kB / 436.7 MB, free: 4.465 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005496/0.2174, allocations: 3.297 MB / 440 MB, free: 1.113 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001354/0.2188, allocations: 1.145 MB / 441.2 MB, free: 15.93 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005579/0.2193, allocations: 210.9 kB / 441.4 MB, free: 15.71 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002596/0.2196, allocations: 68.48 kB / 441.5 MB, free: 15.65 MB / 414.1 MB Notification: Performance of SimCode: time 9.32e-07/0.2196, allocations: 0 / 441.5 MB, free: 15.65 MB / 414.1 MB Notification: Performance of Templates: time 0.02505/0.2446, allocations: 12.27 MB / 453.7 MB, free: 3.59 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.sim & ./Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.852150224032812]