Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 100.7 kB / 20.96 MB, free: 480 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 153.4 kB / 24.25 MB, free: 3.527 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 173.3 MB / 200.8 MB, free: 12.76 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 267.3 MB, free: 10.23 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.163e-05/3.323e-05, allocations: 2.312 kB / 267.3 MB, free: 10.23 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.00729/0.007323, allocations: 5.339 MB / 272.6 MB, free: 4.855 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.003361/0.01068, allocations: 1.608 MB / 274.3 MB, free: 3.242 MB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005455/0.01123, allocations: 59.62 kB / 274.3 MB, free: 3.184 MB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000625/0.01185, allocations: 329.4 kB / 274.6 MB, free: 2.859 MB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001193/0.01305, allocations: 385.1 kB / 275 MB, free: 2.48 MB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007117/0.01376, allocations: 371.3 kB / 275.4 MB, free: 2.117 MB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.002185/0.01594, allocations: 2.078 MB / 277.4 MB, free: 28 kB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002036/0.01798, allocations: 1.548 MB / 279 MB, free: 14.42 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001898/0.01988, allocations: 1.591 MB / 280.6 MB, free: 12.82 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001462/0.02134, allocations: 1.017 MB / 281.6 MB, free: 11.8 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004101/0.02175, allocations: 312 kB / 281.9 MB, free: 11.5 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008102/0.02256, allocations: 451.6 kB / 282.3 MB, free: 11.06 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007291/0.02329, allocations: 0.7479 MB / 283.1 MB, free: 10.31 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001049/0.02434, allocations: 0.8771 MB / 284 MB, free: 9.43 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004159/0.0285, allocations: 3.844 MB / 287.8 MB, free: 5.574 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.0285, allocations: 4 kB / 287.8 MB, free: 5.57 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.02851, allocations: 0 / 287.8 MB, free: 5.57 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.596e-05/0.0286, allocations: 0 / 287.8 MB, free: 5.57 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.005404/0.03401, allocations: 2.423 MB / 290.2 MB, free: 3.102 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.03405, allocations: 8.031 kB / 290.3 MB, free: 3.094 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001045/0.03509, allocations: 439.4 kB / 290.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002422/0.03751, allocations: 1.292 MB / 292 MB, free: 1.34 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001495/0.03766, allocations: 168.9 kB / 292.1 MB, free: 1.172 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003492/0.03801, allocations: 228.3 kB / 292.4 MB, free: 0.9492 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004923/0.04294, allocations: 2.614 MB / 295 MB, free: 14.27 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.89e-05/0.04298, allocations: 3.938 kB / 295 MB, free: 14.26 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001997/0.04318, allocations: 92 kB / 295.1 MB, free: 14.17 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.605e-05/0.04326, allocations: 56 kB / 295.1 MB, free: 14.12 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003836/0.0471, allocations: 2.149 MB / 297.3 MB, free: 11.95 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01106/0.05815, allocations: 6.59 MB / 303.9 MB, free: 5.156 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/0.05923, allocations: 0.6869 MB / 304.6 MB, free: 4.461 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001139/0.06037, allocations: 0.5989 MB / 305.1 MB, free: 3.863 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.101e-05/0.06042, allocations: 12.5 kB / 305.2 MB, free: 3.852 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.801e-05/0.06046, allocations: 35.06 kB / 305.2 MB, free: 3.809 MB / 286.1 MB Notification: Performance of pre-optimization done (n=63): time 3.376e-06/0.06046, allocations: 0 / 305.2 MB, free: 3.809 MB / 286.1 MB Notification: Performance of matching and sorting (n=65): time 0.004467/0.06493, allocations: 2.399 MB / 307.6 MB, free: 1.371 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.208e-05/0.06498, allocations: 60 kB / 307.7 MB, free: 1.301 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001026/0.06601, allocations: 0.7814 MB / 308.4 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.973e-05/0.06606, allocations: 33.7 kB / 308.5 MB, free: 484 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1124/0.1785, allocations: 0.9416 MB / 309.4 MB, free: 47.85 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002531/0.1788, allocations: 235.9 kB / 309.6 MB, free: 47.77 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002546/0.179, allocations: 147 kB / 309.8 MB, free: 47.75 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000179/0.1792, allocations: 389.1 kB / 310.2 MB, free: 47.43 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00065/0.1798, allocations: 364.5 kB / 310.5 MB, free: 47.43 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006761/0.1805, allocations: 0.5829 MB / 311.1 MB, free: 47.15 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001248/0.1818, allocations: 0.9888 MB / 312.1 MB, free: 46.61 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.1818, allocations: 1.5 kB / 312.1 MB, free: 46.61 MB / 286.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001868/0.1836, allocations: 1.183 MB / 313.3 MB, free: 46.14 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.1837, allocations: 8.469 kB / 313.3 MB, free: 46.14 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/0.1837, allocations: 8.406 kB / 313.3 MB, free: 46.14 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003432/0.184, allocations: 108.1 kB / 313.4 MB, free: 46.11 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007213/0.1847, allocations: 176.7 kB / 313.6 MB, free: 46.09 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002004/0.1867, allocations: 2.187 MB / 315.8 MB, free: 44.38 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005298/0.1873, allocations: 42.7 kB / 315.8 MB, free: 44.37 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.07e-05/0.1873, allocations: 35.56 kB / 315.8 MB, free: 44.36 MB / 286.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.0009562/0.1883, allocations: 0.6514 MB / 316.5 MB, free: 44.01 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000187/0.1885, allocations: 99.06 kB / 316.6 MB, free: 43.96 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001711/0.1886, allocations: 96.97 kB / 316.7 MB, free: 43.9 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.673e-05/0.1887, allocations: 12.97 kB / 316.7 MB, free: 43.89 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.839e-06/0.1887, allocations: 6.625 kB / 316.7 MB, free: 43.89 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/0.1887, allocations: 3 kB / 316.7 MB, free: 43.89 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003677/0.1924, allocations: 2.226 MB / 318.9 MB, free: 42.94 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.1924, allocations: 2.281 kB / 318.9 MB, free: 42.94 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004707/0.1928, allocations: 111.3 kB / 319 MB, free: 42.93 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002555/0.1931, allocations: 99.03 kB / 319.1 MB, free: 42.9 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.628e-05/0.1931, allocations: 19.8 kB / 319.2 MB, free: 42.89 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001754/0.1949, allocations: 2.131 MB / 321.3 MB, free: 41.21 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.1949, allocations: 5.094 kB / 321.3 MB, free: 41.21 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001899/0.1968, allocations: 1.436 MB / 322.7 MB, free: 40.55 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002812/0.1971, allocations: 150.7 kB / 322.9 MB, free: 40.48 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.322e-05/0.1972, allocations: 13.5 kB / 322.9 MB, free: 40.47 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004073/0.1976, allocations: 47.77 kB / 322.9 MB, free: 40.46 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001321/0.1977, allocations: 46.28 kB / 323 MB, free: 40.45 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.451e-05/0.1978, allocations: 24.08 kB / 323 MB, free: 40.45 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0006507/0.1984, allocations: 0.538 MB / 323.5 MB, free: 40.21 MB / 286.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1984, allocations: 1.031 kB / 323.5 MB, free: 40.21 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.001171/0.1996, allocations: 299.6 kB / 323.8 MB, free: 40.2 MB / 286.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.0002235/0.1998, allocations: 147.5 kB / 324 MB, free: 40.08 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001326/0.2011, allocations: 0.9632 MB / 324.9 MB, free: 39.69 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.2011, allocations: 0 / 324.9 MB, free: 39.69 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000764/0.2019, allocations: 0.5364 MB / 325.5 MB, free: 39.42 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009473/0.2028, allocations: 213.8 kB / 325.7 MB, free: 39.36 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004154/0.207, allocations: 3.265 MB / 328.9 MB, free: 37.24 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008432/0.2078, allocations: 1.156 MB / 330.1 MB, free: 36.08 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0004458/0.2083, allocations: 190.9 kB / 330.3 MB, free: 35.89 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001629/0.2085, allocations: 60.5 kB / 330.3 MB, free: 35.83 MB / 286.1 MB Notification: Performance of SimCode: time 7.01e-07/0.2085, allocations: 4 kB / 330.4 MB, free: 35.83 MB / 286.1 MB Notification: Performance of Templates: time 0.01932/0.2278, allocations: 12.27 MB / 342.6 MB, free: 23.81 MB / 286.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.sim & ./Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.427583672106266]