Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.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.001718/0.001718, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 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.002029/0.002029, allocations: 211.4 kB / 24.48 MB, free: 3.977 MB / 14.72 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 2.088/2.088, allocations: 230.6 MB / 258.3 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001832/0.001832, allocations: 51.92 kB / 379 MB, free: 2.488 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4038/0.4057, allocations: 53.36 MB / 432.3 MB, free: 6.746 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01802/0.4237, allocations: 14.27 MB / 446.6 MB, free: 8.418 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01074/0.4344, allocations: 4.029 MB / 450.6 MB, free: 4.375 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00393/0.4384, allocations: 163.2 kB / 450.8 MB, free: 4.215 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01765/0.456, allocations: 6.911 MB / 457.7 MB, free: 13.29 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007255/0.4633, allocations: 1.344 MB / 459 MB, free: 11.94 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004518/0.4678, allocations: 1.224 MB / 460.3 MB, free: 10.71 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01158/0.4794, allocations: 8.308 MB / 468.6 MB, free: 2.375 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02477/0.5041, allocations: 14.36 MB / 482.9 MB, free: 3.824 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007442/0.5116, allocations: 4.914 MB / 487.8 MB, free: 14.9 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0105/0.5221, allocations: 5.353 MB / 493.2 MB, free: 9.527 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004947/0.527, allocations: 1.383 MB / 494.6 MB, free: 8.145 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008063/0.5351, allocations: 1.668 MB / 496.3 MB, free: 6.477 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005881/0.541, allocations: 2.588 MB / 498.8 MB, free: 3.883 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01085/0.5518, allocations: 4.051 MB / 0.4911 GB, free: 15.81 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03327/0.5851, allocations: 18.43 MB / 0.5091 GB, free: 13.33 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.568e-06/0.5851, allocations: 0 / 0.5091 GB, free: 13.33 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.5851, allocations: 0 / 0.5091 GB, free: 13.33 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0008108/0.5859, allocations: 0 / 0.5091 GB, free: 13.33 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2457 * Number of variables: 2457 Notification: Performance of Generate backend data structure: time 0.04624/0.6321, allocations: 10.55 MB / 0.5194 GB, free: 2.703 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.339e-05/0.6322, allocations: 12.03 kB / 0.5194 GB, free: 2.691 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02281/0.655, allocations: 3.706 MB / 0.523 GB, free: 14.98 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02098/0.676, allocations: 5.429 MB / 0.5283 GB, free: 9.488 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001532/0.6775, allocations: 0.6785 MB / 0.529 GB, free: 8.809 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006718/0.6843, allocations: 0.8905 MB / 0.5299 GB, free: 7.918 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6526/1.337, allocations: 12.81 MB / 0.5424 GB, free: 87.19 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004495/1.337, allocations: 8.203 kB / 0.5424 GB, free: 87.19 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004287/1.342, allocations: 379.1 kB / 0.5428 GB, free: 86.9 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006727/1.342, allocations: 403.4 kB / 0.5431 GB, free: 86.87 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03136/1.374, allocations: 11.4 MB / 0.5543 GB, free: 82.2 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07687/1.451, allocations: 37.36 MB / 0.5908 GB, free: 46.45 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007792/1.458, allocations: 4.17 MB / 0.5948 GB, free: 42.53 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001954/1.46, allocations: 1.543 MB / 0.5963 GB, free: 41 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002407/1.461, allocations: 65.94 kB / 0.5964 GB, free: 40.94 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.374e-05/1.461, allocations: 68.47 kB / 0.5965 GB, free: 40.86 MB / 446.1 MB Notification: Performance of pre-optimization done (n=223): time 6.272e-06/1.461, allocations: 0 / 0.5965 GB, free: 40.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=223): time 0.008089/1.469, allocations: 4.59 MB / 0.601 GB, free: 36.27 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.168e-05/1.469, allocations: 77.41 kB / 0.601 GB, free: 36.18 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004679/1.473, allocations: 3.041 MB / 0.604 GB, free: 33.22 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002045/1.474, allocations: 61.7 kB / 0.6041 GB, free: 33.15 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002467/1.476, allocations: 3.983 MB / 0.6079 GB, free: 29.53 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007337/1.477, allocations: 0.8317 MB / 0.6088 GB, free: 28.71 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001282/1.478, allocations: 0.9605 MB / 0.6097 GB, free: 27.73 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.347e-05/1.478, allocations: 305.1 kB / 0.61 GB, free: 27.43 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00242/1.481, allocations: 1.973 MB / 0.6119 GB, free: 25.45 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003462/1.484, allocations: 4.161 MB / 0.616 GB, free: 20.22 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006634/1.491, allocations: 6.525 MB / 0.6223 GB, free: 12.65 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.748e-05/1.491, allocations: 24 kB / 0.6224 GB, free: 12.63 MB / 446.1 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.01024/1.501, allocations: 6.52 MB / 0.6287 GB, free: 6.098 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.696e-05/1.501, allocations: 36 kB / 0.6288 GB, free: 6.062 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001452/1.501, allocations: 76 kB / 0.6288 GB, free: 5.988 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009252/1.502, allocations: 412.7 kB / 0.6292 GB, free: 5.582 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003328/1.505, allocations: 1.065 MB / 0.6303 GB, free: 4.516 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004569/1.51, allocations: 4.187 MB / 0.6344 GB, free: 236 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004411/1.514, allocations: 0.6325 MB / 0.635 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008131/1.515, allocations: 248 kB / 0.6352 GB, free: 15.35 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 340 * 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 (566): * Single equations (assignments): 564 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00761/1.523, allocations: 3.379 MB / 0.6385 GB, free: 11.96 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007972/1.524, allocations: 282.2 kB / 0.6388 GB, free: 11.68 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00629/1.53, allocations: 3.576 MB / 0.6423 GB, free: 8.074 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004571/1.535, allocations: 2.807 MB / 0.645 GB, free: 5.258 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.518e-05/1.535, allocations: 4 kB / 0.645 GB, free: 5.254 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.541e-05/1.535, allocations: 11.95 kB / 0.645 GB, free: 5.242 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01992/1.554, allocations: 8.009 MB / 0.6529 GB, free: 13.2 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.635e-05/1.555, allocations: 4 kB / 0.6529 GB, free: 13.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002459/1.557, allocations: 415.4 kB / 0.6533 GB, free: 12.79 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001088/1.558, allocations: 316.7 kB / 0.6536 GB, free: 12.48 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002312/1.558, allocations: 51.98 kB / 0.6536 GB, free: 12.43 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006955/1.565, allocations: 4.008 MB / 0.6575 GB, free: 8.316 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/1.565, allocations: 0 / 0.6575 GB, free: 8.316 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01151/1.577, allocations: 5.136 MB / 0.6625 GB, free: 3.145 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002291/1.579, allocations: 0.5521 MB / 0.6631 GB, free: 2.59 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008733/1.58, allocations: 51.86 kB / 0.6631 GB, free: 2.539 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001766/1.582, allocations: 127.8 kB / 0.6632 GB, free: 2.414 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003595/1.582, allocations: 157.7 kB / 0.6634 GB, free: 2.262 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001484/1.582, allocations: 67.98 kB / 0.6635 GB, free: 2.195 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003498/1.586, allocations: 1.939 MB / 0.6654 GB, free: 252 kB / 478.1 MB Notification: Performance of sort global known variables: time 1.21e-07/1.586, allocations: 0 / 0.6654 GB, free: 252 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.00612/1.592, allocations: 1.992 MB / 0.6673 GB, free: 14.24 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (sineVoltage.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 (215): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006018/1.592, allocations: 202.7 kB / 0.6675 GB, free: 14.04 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009706/1.602, allocations: 4.444 MB / 0.6718 GB, free: 9.59 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.768e-06/1.602, allocations: 0 / 0.6718 GB, free: 9.59 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004523/1.607, allocations: 1.623 MB / 0.6734 GB, free: 7.961 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004948/1.612, allocations: 0.6684 MB / 0.6741 GB, free: 7.305 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04031/1.652, allocations: 13.52 MB / 0.6873 GB, free: 9.727 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009267/1.661, allocations: 5.172 MB / 0.6923 GB, free: 4.512 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.004446/1.666, allocations: 1.694 MB / 0.694 GB, free: 2.812 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007143/1.666, allocations: 243.4 kB / 0.6942 GB, free: 2.574 MB / 0.4982 GB Notification: Performance of SimCode: time 1.753e-06/1.666, allocations: 0 / 0.6942 GB, free: 2.574 MB / 0.4982 GB Notification: Performance of Templates: time 0.09705/1.763, allocations: 49.02 MB / 0.7421 GB, free: 2.004 MB / 0.545 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.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: 8.88576331299555]