Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.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.001364/0.001364, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 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.001753/0.001753, allocations: 213 kB / 23.73 MB, free: 4.164 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.466/1.466, allocations: 230.5 MB / 257.4 MB, free: 7.809 MB / 206.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.QuasiStatic.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002233/0.002233, allocations: 67.89 kB / 378.2 MB, free: 2.328 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2624/0.2646, allocations: 53.41 MB / 431.6 MB, free: 6.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01946/0.284, allocations: 14.25 MB / 445.9 MB, free: 8.223 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009979/0.294, allocations: 4.031 MB / 449.9 MB, free: 4.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00296/0.297, allocations: 159.2 kB / 450.1 MB, free: 4.023 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01725/0.3142, allocations: 6.909 MB / 457 MB, free: 13.1 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005722/0.32, allocations: 1.355 MB / 458.3 MB, free: 11.74 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003848/0.3238, allocations: 1.211 MB / 459.6 MB, free: 10.54 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01067/0.3345, allocations: 8.316 MB / 467.9 MB, free: 2.184 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02998/0.3644, allocations: 14.21 MB / 482.1 MB, free: 3.777 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007774/0.3722, allocations: 4.914 MB / 487 MB, free: 14.85 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009069/0.3813, allocations: 5.182 MB / 492.2 MB, free: 9.652 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003621/0.3849, allocations: 1.383 MB / 493.6 MB, free: 8.27 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005027/0.3899, allocations: 1.648 MB / 495.2 MB, free: 6.621 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004025/0.394, allocations: 2.595 MB / 497.8 MB, free: 4.02 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007721/0.4017, allocations: 4.043 MB / 0.4901 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0229/0.4246, allocations: 18.44 MB / 0.5081 GB, free: 13.46 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.4246, allocations: 4 kB / 0.5081 GB, free: 13.46 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.4246, allocations: 0 / 0.5081 GB, free: 13.46 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004862/0.4251, allocations: 0 / 0.5081 GB, free: 13.46 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.03191/0.457, allocations: 10.55 MB / 0.5184 GB, free: 2.84 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.457, allocations: 11.98 kB / 0.5184 GB, free: 2.828 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02057/0.4776, allocations: 3.71 MB / 0.522 GB, free: 15.11 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01238/0.49, allocations: 5.433 MB / 0.5273 GB, free: 9.617 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008903/0.4909, allocations: 0.6785 MB / 0.528 GB, free: 8.938 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003187/0.4941, allocations: 0.8828 MB / 0.5289 GB, free: 8.055 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3927/0.8868, allocations: 12.81 MB / 0.5414 GB, free: 86.94 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002578/0.887, allocations: 11.89 kB / 0.5414 GB, free: 86.93 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001591/0.8886, allocations: 376.7 kB / 0.5418 GB, free: 86.64 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004043/0.889, allocations: 396.6 kB / 0.5421 GB, free: 86.62 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02167/0.9107, allocations: 11.4 MB / 0.5533 GB, free: 81.99 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0544/0.9651, allocations: 37.37 MB / 0.5898 GB, free: 46.44 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007163/0.9723, allocations: 4.172 MB / 0.5938 GB, free: 42.52 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001712/0.974, allocations: 1.538 MB / 0.5953 GB, free: 40.99 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001781/0.9742, allocations: 69.92 kB / 0.5954 GB, free: 40.92 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.9742, allocations: 56.56 kB / 0.5955 GB, free: 40.86 MB / 446.1 MB Notification: Performance of pre-optimization done (n=223): time 4.699e-06/0.9742, allocations: 0 / 0.5955 GB, free: 40.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=223): time 0.007226/0.9814, allocations: 4.591 MB / 0.5999 GB, free: 36.26 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.106e-05/0.9814, allocations: 77.34 kB / 0.6 GB, free: 36.17 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003526/0.985, allocations: 3.05 MB / 0.603 GB, free: 33.2 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001218/0.9851, allocations: 57.7 kB / 0.603 GB, free: 33.14 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001431/0.9865, allocations: 3.987 MB / 0.6069 GB, free: 29.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004913/0.987, allocations: 0.828 MB / 0.6077 GB, free: 28.69 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001062/0.9881, allocations: 0.9644 MB / 0.6087 GB, free: 27.71 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.872e-05/0.9881, allocations: 309 kB / 0.609 GB, free: 27.41 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002233/0.9903, allocations: 1.973 MB / 0.6109 GB, free: 25.43 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00298/0.9933, allocations: 4.157 MB / 0.615 GB, free: 20.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005851/0.9992, allocations: 6.525 MB / 0.6213 GB, free: 12.63 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.075e-05/0.9992, allocations: 24 kB / 0.6214 GB, free: 12.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.008744/1.008, allocations: 6.516 MB / 0.6277 GB, free: 6.078 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.445e-05/1.008, allocations: 36 kB / 0.6278 GB, free: 6.043 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001013/1.008, allocations: 76 kB / 0.6278 GB, free: 5.969 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007987/1.009, allocations: 413.3 kB / 0.6282 GB, free: 5.562 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003054/1.012, allocations: 1.068 MB / 0.6293 GB, free: 4.492 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00418/1.016, allocations: 4.177 MB / 0.6334 GB, free: 224 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003289/1.019, allocations: 0.6247 MB / 0.634 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005241/1.02, allocations: 256 kB / 0.6342 GB, free: 15.34 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.005602/1.026, allocations: 3.373 MB / 0.6375 GB, free: 11.95 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006507/1.026, allocations: 282.2 kB / 0.6378 GB, free: 11.67 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006531/1.033, allocations: 3.58 MB / 0.6413 GB, free: 8.062 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004642/1.037, allocations: 2.807 MB / 0.644 GB, free: 5.246 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-05/1.037, allocations: 4 kB / 0.644 GB, free: 5.242 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.924e-05/1.037, allocations: 15.94 kB / 0.644 GB, free: 5.227 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01709/1.055, allocations: 8.001 MB / 0.6518 GB, free: 13.19 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.159e-05/1.055, allocations: 3.984 kB / 0.6518 GB, free: 13.18 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001714/1.056, allocations: 415.4 kB / 0.6522 GB, free: 12.78 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000785/1.057, allocations: 324.5 kB / 0.6526 GB, free: 12.46 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001607/1.057, allocations: 47.98 kB / 0.6526 GB, free: 12.41 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005541/1.063, allocations: 4.005 MB / 0.6565 GB, free: 8.301 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/1.063, allocations: 7.938 kB / 0.6565 GB, free: 8.293 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008374/1.071, allocations: 5.132 MB / 0.6615 GB, free: 3.125 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001612/1.073, allocations: 0.5522 MB / 0.6621 GB, free: 2.57 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004824/1.073, allocations: 47.92 kB / 0.6621 GB, free: 2.523 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001402/1.075, allocations: 131.8 kB / 0.6622 GB, free: 2.395 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003205/1.075, allocations: 161.6 kB / 0.6624 GB, free: 2.238 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001483/1.075, allocations: 67.98 kB / 0.6625 GB, free: 2.172 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003691/1.079, allocations: 1.935 MB / 0.6643 GB, free: 232 kB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/1.079, allocations: 0 / 0.6643 GB, free: 232 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.005654/1.084, allocations: 2 MB / 0.6663 GB, free: 14.21 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.0005565/1.085, allocations: 207.9 kB / 0.6665 GB, free: 14.01 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008264/1.093, allocations: 4.444 MB / 0.6708 GB, free: 9.559 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/1.093, allocations: 0 / 0.6708 GB, free: 9.559 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002716/1.096, allocations: 1.622 MB / 0.6724 GB, free: 7.93 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003435/1.099, allocations: 0.6703 MB / 0.6731 GB, free: 7.277 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02716/1.127, allocations: 13.51 MB / 0.6863 GB, free: 9.699 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008264/1.135, allocations: 5.172 MB / 0.6913 GB, free: 4.484 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.004303/1.139, allocations: 1.686 MB / 0.693 GB, free: 2.793 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007482/1.14, allocations: 243.4 kB / 0.6932 GB, free: 2.555 MB / 0.4982 GB Notification: Performance of SimCode: time 1.242e-06/1.14, allocations: 0 / 0.6932 GB, free: 2.555 MB / 0.4982 GB Notification: Performance of Templates: time 0.09003/1.23, allocations: 46.6 MB / 0.7387 GB, free: 4.312 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.835227593779564]