Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.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.001632/0.001632, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 14.72 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.002023/0.002023, allocations: 217.1 kB / 24.47 MB, free: 3.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.621/1.621, allocations: 207.7 MB / 235.3 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Electrical.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors") translateModel(Modelica.Electrical.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002111/0.002111, allocations: 55.92 kB / 347.7 MB, free: 9.383 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3701/0.3722, allocations: 49.15 MB / 396.8 MB, free: 9.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TestSensors): time 0.007503/0.3797, allocations: 5.291 MB / 402.1 MB, free: 5.883 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003881/0.3836, allocations: 1.641 MB / 403.8 MB, free: 4.699 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005506/0.3841, allocations: 52.94 kB / 403.8 MB, free: 4.676 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000634/0.3848, allocations: 323.4 kB / 404.1 MB, free: 4.488 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001214/0.386, allocations: 384.7 kB / 404.5 MB, free: 4.246 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000714/0.3867, allocations: 354.5 kB / 404.9 MB, free: 4.039 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002009/0.3887, allocations: 2.023 MB / 406.9 MB, free: 3.02 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002034/0.3907, allocations: 1.521 MB / 408.4 MB, free: 2.227 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001452/0.3922, allocations: 1.053 MB / 409.5 MB, free: 1.711 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001703/0.3939, allocations: 1.153 MB / 410.6 MB, free: 1.152 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004814/0.3944, allocations: 310.7 kB / 410.9 MB, free: 1.152 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009387/0.3953, allocations: 463 kB / 411.4 MB, free: 1.051 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005469/0.3959, allocations: 0.7356 MB / 412.1 MB, free: 480 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001103/0.397, allocations: 1.015 MB / 413.1 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004605/0.4016, allocations: 3.807 MB / 416.9 MB, free: 12.96 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.4016, allocations: 4 kB / 416.9 MB, free: 12.95 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.4016, allocations: 1.156 kB / 416.9 MB, free: 12.95 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.018e-05/0.4017, allocations: 4 kB / 416.9 MB, free: 12.95 MB / 334.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.005636/0.4073, allocations: 2.433 MB / 419.4 MB, free: 11.27 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.38e-05/0.4073, allocations: 12.95 kB / 419.4 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000797/0.4081, allocations: 251 kB / 419.6 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002575/0.4107, allocations: 1.132 MB / 420.8 MB, free: 10.36 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000162/0.4109, allocations: 171.4 kB / 420.9 MB, free: 10.28 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003349/0.4112, allocations: 221.6 kB / 421.1 MB, free: 10.2 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005206/0.4164, allocations: 2.617 MB / 423.8 MB, free: 8.043 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.416e-05/0.4165, allocations: 0 / 423.8 MB, free: 8.043 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002121/0.4167, allocations: 92 kB / 423.8 MB, free: 7.953 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.074e-05/0.4168, allocations: 56 kB / 423.9 MB, free: 7.898 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00409/0.4209, allocations: 2.141 MB / 426 MB, free: 5.742 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01408/0.4349, allocations: 6.383 MB / 432.4 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001179/0.4361, allocations: 0.6859 MB / 433.1 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001173/0.4373, allocations: 0.5946 MB / 433.7 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.583e-05/0.4373, allocations: 8.438 kB / 433.7 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.839e-05/0.4374, allocations: 43 kB / 433.8 MB, free: 13.8 MB / 350.1 MB Notification: Performance of pre-optimization done (n=63): time 3.978e-06/0.4374, allocations: 0 / 433.8 MB, free: 13.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.005669/0.443, allocations: 2.383 MB / 436.1 MB, free: 11.38 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.189e-05/0.4431, allocations: 64.05 kB / 436.2 MB, free: 11.3 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001364/0.4445, allocations: 0.7775 MB / 437 MB, free: 10.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.713e-05/0.4445, allocations: 41.7 kB / 437 MB, free: 10.47 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009294/0.4455, allocations: 0.948 MB / 438 MB, free: 9.512 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002314/0.4457, allocations: 234 kB / 438.2 MB, free: 9.281 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002598/0.4459, allocations: 146.6 kB / 438.3 MB, free: 9.129 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00025/0.4462, allocations: 390.7 kB / 438.7 MB, free: 8.738 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006199/0.4468, allocations: 365.8 kB / 439.1 MB, free: 8.383 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008571/0.4477, allocations: 0.5791 MB / 439.7 MB, free: 7.707 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00172/0.4494, allocations: 0.995 MB / 440.7 MB, free: 6.613 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.808e-06/0.4494, allocations: 0 / 440.7 MB, free: 6.613 MB / 350.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002168/0.4516, allocations: 1.157 MB / 441.8 MB, free: 5.445 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/0.4516, allocations: 8 kB / 441.8 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.77e-05/0.4516, allocations: 7.938 kB / 441.8 MB, free: 5.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003727/0.452, allocations: 112.7 kB / 441.9 MB, free: 5.316 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007099/0.4527, allocations: 171.9 kB / 442.1 MB, free: 5.148 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002857/0.4556, allocations: 2.18 MB / 444.3 MB, free: 2.871 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005749/0.4561, allocations: 39.97 kB / 444.3 MB, free: 2.832 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.385e-05/0.4562, allocations: 32.06 kB / 444.4 MB, free: 2.801 MB / 350.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.001299/0.4575, allocations: 0.6496 MB / 445 MB, free: 2.141 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002621/0.4577, allocations: 83.47 kB / 445.1 MB, free: 2.059 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00022/0.458, allocations: 95.31 kB / 445.2 MB, free: 1.953 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.869e-05/0.458, allocations: 15.94 kB / 445.2 MB, free: 1.938 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.656e-05/0.458, allocations: 0 / 445.2 MB, free: 1.938 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/0.458, allocations: 7.969 kB / 445.2 MB, free: 1.93 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004689/0.4627, allocations: 2.232 MB / 447.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.92e-06/0.4627, allocations: 0 / 447.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004898/0.4632, allocations: 115.7 kB / 447.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002577/0.4635, allocations: 96.97 kB / 447.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.504e-05/0.4635, allocations: 15.98 kB / 447.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002482/0.466, allocations: 2.125 MB / 449.8 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.795e-06/0.466, allocations: 4.031 kB / 449.8 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00248/0.4685, allocations: 1.427 MB / 451.2 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004832/0.469, allocations: 151.4 kB / 451.4 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.255e-05/0.4691, allocations: 12 kB / 451.4 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000434/0.4695, allocations: 48.02 kB / 451.4 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001355/0.4696, allocations: 48.34 kB / 451.5 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-05/0.4697, allocations: 23.98 kB / 451.5 MB, free: 11.45 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008797/0.4706, allocations: 0.5381 MB / 452 MB, free: 10.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4706, allocations: 0 / 452 MB, free: 10.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001287/0.4718, allocations: 300 kB / 452.3 MB, free: 10.62 MB / 366.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.0003246/0.4722, allocations: 139 kB / 452.5 MB, free: 10.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001873/0.474, allocations: 0.9672 MB / 453.4 MB, free: 9.492 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.474, allocations: 1.688 kB / 453.4 MB, free: 9.492 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009451/0.475, allocations: 0.5443 MB / 454 MB, free: 8.934 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001136/0.4761, allocations: 212.1 kB / 454.2 MB, free: 8.73 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006302/0.4824, allocations: 3.281 MB / 457.5 MB, free: 5.395 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001539/0.484, allocations: 1.144 MB / 458.6 MB, free: 4.211 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006947/0.4847, allocations: 194.9 kB / 458.8 MB, free: 4.016 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001956/0.4849, allocations: 67.42 kB / 458.9 MB, free: 3.949 MB / 366.1 MB Notification: Performance of SimCode: time 8.82e-07/0.4849, allocations: 0 / 458.9 MB, free: 3.949 MB / 366.1 MB Notification: Performance of Templates: time 0.02903/0.5139, allocations: 14.23 MB / 473.1 MB, free: 5.695 MB / 382.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.sim & ./Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.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: 5.200147315859795]