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.00177/0.00177, 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.002211/0.002211, 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 1.492/1.492, allocations: 230.6 MB / 258.2 MB, free: 7.801 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.001551/0.001551, allocations: 51.91 kB / 379 MB, free: 2.438 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.216/0.2175, allocations: 53.37 MB / 432.3 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01732/0.2348, allocations: 14.25 MB / 446.6 MB, free: 8.383 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007636/0.2425, allocations: 4.033 MB / 450.6 MB, free: 4.336 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001213/0.2437, allocations: 163.2 kB / 450.8 MB, free: 4.176 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01556/0.2592, allocations: 6.914 MB / 457.7 MB, free: 13.25 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004799/0.264, allocations: 1.339 MB / 459 MB, free: 11.9 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00294/0.267, allocations: 1.236 MB / 460.3 MB, free: 10.66 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009098/0.2761, allocations: 8.296 MB / 468.6 MB, free: 2.336 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02361/0.2997, allocations: 14.36 MB / 482.9 MB, free: 3.781 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006649/0.3063, allocations: 4.91 MB / 487.8 MB, free: 14.86 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007708/0.3141, allocations: 5.365 MB / 493.2 MB, free: 9.477 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002313/0.3164, allocations: 1.379 MB / 494.6 MB, free: 8.098 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003324/0.3197, allocations: 1.668 MB / 496.3 MB, free: 6.43 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002411/0.3221, allocations: 2.592 MB / 498.8 MB, free: 3.832 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005102/0.3272, allocations: 4.047 MB / 0.4911 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01848/0.3457, allocations: 18.44 MB / 0.5091 GB, free: 13.28 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.3457, allocations: 0 / 0.5091 GB, free: 13.28 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3457, allocations: 0 / 0.5091 GB, free: 13.28 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003306/0.346, allocations: 0 / 0.5091 GB, free: 13.28 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.02673/0.3728, allocations: 10.55 MB / 0.5194 GB, free: 2.652 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.3728, allocations: 8.031 kB / 0.5194 GB, free: 2.645 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01933/0.3921, allocations: 3.71 MB / 0.523 GB, free: 14.93 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0125/0.4046, allocations: 5.425 MB / 0.5283 GB, free: 9.441 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006281/0.4053, allocations: 0.6746 MB / 0.529 GB, free: 8.766 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002296/0.4075, allocations: 0.8906 MB / 0.5299 GB, free: 7.875 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3746/0.7821, allocations: 12.82 MB / 0.5424 GB, free: 87.16 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002001/0.7823, allocations: 13.58 kB / 0.5424 GB, free: 87.15 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009995/0.7833, allocations: 375.5 kB / 0.5428 GB, free: 86.86 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003234/0.7837, allocations: 396.9 kB / 0.5431 GB, free: 86.84 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01677/0.8004, allocations: 11.41 MB / 0.5543 GB, free: 82.18 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04377/0.8442, allocations: 37.37 MB / 0.5908 GB, free: 46.35 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006881/0.8511, allocations: 4.173 MB / 0.5948 GB, free: 42.43 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001674/0.8528, allocations: 1.534 MB / 0.5963 GB, free: 40.9 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000192/0.853, allocations: 65.94 kB / 0.5964 GB, free: 40.84 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.853, allocations: 56.55 kB / 0.5965 GB, free: 40.77 MB / 446.1 MB Notification: Performance of pre-optimization done (n=223): time 5.01e-06/0.853, allocations: 0 / 0.5965 GB, free: 40.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=223): time 0.007108/0.8601, allocations: 4.605 MB / 0.601 GB, free: 36.17 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.821e-05/0.8601, allocations: 73.41 kB / 0.601 GB, free: 36.09 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003074/0.8632, allocations: 3.041 MB / 0.604 GB, free: 33.12 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001336/0.8633, allocations: 61.7 kB / 0.6041 GB, free: 33.06 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001292/0.8646, allocations: 3.981 MB / 0.6079 GB, free: 29.43 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004328/0.8651, allocations: 0.828 MB / 0.6088 GB, free: 28.61 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001029/0.8661, allocations: 0.9644 MB / 0.6097 GB, free: 27.64 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.38e-05/0.8661, allocations: 301.1 kB / 0.61 GB, free: 27.34 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002159/0.8683, allocations: 1.976 MB / 0.6119 GB, free: 25.36 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0028/0.8711, allocations: 4.157 MB / 0.616 GB, free: 20.13 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005238/0.8763, allocations: 6.525 MB / 0.6223 GB, free: 12.56 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.413e-05/0.8763, allocations: 20 kB / 0.6224 GB, free: 12.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.007772/0.8841, allocations: 6.52 MB / 0.6287 GB, free: 6.008 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.279e-05/0.8842, allocations: 36 kB / 0.6288 GB, free: 5.973 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.616e-05/0.8842, allocations: 76 kB / 0.6288 GB, free: 5.898 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007401/0.885, allocations: 416.7 kB / 0.6292 GB, free: 5.488 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002929/0.8879, allocations: 1.061 MB / 0.6303 GB, free: 4.426 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003792/0.8917, allocations: 4.177 MB / 0.6344 GB, free: 152 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00281/0.8945, allocations: 0.6299 MB / 0.635 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003776/0.8949, allocations: 256 kB / 0.6352 GB, free: 15.27 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.004929/0.8998, allocations: 3.373 MB / 0.6385 GB, free: 11.88 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005542/0.9003, allocations: 282.2 kB / 0.6388 GB, free: 11.6 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006272/0.9066, allocations: 3.584 MB / 0.6423 GB, free: 7.984 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004556/0.9112, allocations: 2.807 MB / 0.645 GB, free: 5.168 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/0.9112, allocations: 4 kB / 0.645 GB, free: 5.164 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.109e-05/0.9112, allocations: 15.89 kB / 0.645 GB, free: 5.148 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01532/0.9265, allocations: 7.996 MB / 0.6528 GB, free: 13.14 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.185e-05/0.9265, allocations: 4 kB / 0.6528 GB, free: 13.13 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001758/0.9283, allocations: 423.3 kB / 0.6533 GB, free: 12.72 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007909/0.9291, allocations: 312.7 kB / 0.6536 GB, free: 12.41 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000141/0.9292, allocations: 47.98 kB / 0.6536 GB, free: 12.36 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005367/0.9346, allocations: 4.018 MB / 0.6575 GB, free: 8.242 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.9346, allocations: 7.938 kB / 0.6575 GB, free: 8.234 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007882/0.9425, allocations: 5.136 MB / 0.6625 GB, free: 3.062 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001458/0.9439, allocations: 0.556 MB / 0.6631 GB, free: 2.504 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003357/0.9443, allocations: 43.92 kB / 0.6631 GB, free: 2.461 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001161/0.9454, allocations: 131.8 kB / 0.6633 GB, free: 2.332 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003069/0.9457, allocations: 153.7 kB / 0.6634 GB, free: 2.184 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001486/0.9459, allocations: 63.98 kB / 0.6635 GB, free: 2.121 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00298/0.9489, allocations: 1.947 MB / 0.6654 GB, free: 168 kB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.9489, allocations: 0 / 0.6654 GB, free: 168 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.005018/0.9539, allocations: 1.992 MB / 0.6673 GB, free: 14.16 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.0004484/0.9543, allocations: 202.8 kB / 0.6675 GB, free: 13.96 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007376/0.9617, allocations: 4.443 MB / 0.6718 GB, free: 9.508 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/0.9617, allocations: 0 / 0.6718 GB, free: 9.508 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002515/0.9642, allocations: 1.619 MB / 0.6734 GB, free: 7.883 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003077/0.9673, allocations: 0.6696 MB / 0.6741 GB, free: 7.227 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02294/0.9903, allocations: 13.52 MB / 0.6873 GB, free: 9.652 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006559/0.9968, allocations: 5.172 MB / 0.6923 GB, free: 4.438 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.003952/1.001, allocations: 1.694 MB / 0.694 GB, free: 2.738 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006778/1.001, allocations: 247.4 kB / 0.6942 GB, free: 2.496 MB / 0.4982 GB Notification: Performance of SimCode: time 7.82e-07/1.001, allocations: 0 / 0.6942 GB, free: 2.496 MB / 0.4982 GB Notification: Performance of Templates: time 0.08825/1.09, allocations: 49 MB / 0.7421 GB, free: 1.938 MB / 0.545 GB " [Timeout remaining time 659] 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 gbode -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: 6.6715282579971245]