Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001346/0.001346, allocations: 108.7 kB / 18.78 MB, free: 3.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001294/0.001294, allocations: 207.9 kB / 19.79 MB, free: 2.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.426/1.426, allocations: 230.4 MB / 251.1 MB, free: 8.488 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 71.84 kB / 369 MB, free: 6.035 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.2314, allocations: 53.31 MB / 422.3 MB, free: 7.812 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01931/0.2507, allocations: 16.57 MB / 438.8 MB, free: 7.168 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009682/0.2604, allocations: 4.161 MB / 443 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003377/0.2637, allocations: 139.6 kB / 443.1 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01759/0.2813, allocations: 7.487 MB / 450.6 MB, free: 11.35 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005378/0.2867, allocations: 1.338 MB / 452 MB, free: 10.01 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003561/0.2903, allocations: 1.255 MB / 453.2 MB, free: 8.754 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01021/0.3005, allocations: 8.246 MB / 461.5 MB, free: 488 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02656/0.327, allocations: 17.33 MB / 478.8 MB, free: 14.96 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007356/0.3344, allocations: 4.828 MB / 483.6 MB, free: 10.12 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01032/0.3447, allocations: 5.35 MB / 489 MB, free: 4.754 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003722/0.3484, allocations: 1.383 MB / 490.4 MB, free: 3.371 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005017/0.3535, allocations: 1.66 MB / 492 MB, free: 1.711 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003859/0.3573, allocations: 2.588 MB / 494.6 MB, free: 15.12 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007925/0.3652, allocations: 5.222 MB / 499.8 MB, free: 9.875 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02133/0.3866, allocations: 18.35 MB / 0.506 GB, free: 7.465 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.3866, allocations: 0 / 0.506 GB, free: 7.465 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3866, allocations: 0 / 0.506 GB, free: 7.465 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004136/0.387, allocations: 0 / 0.506 GB, free: 7.465 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.03063/0.4176, allocations: 10.63 MB / 0.5164 GB, free: 12.75 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.4177, allocations: 8.031 kB / 0.5164 GB, free: 12.74 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02012/0.4378, allocations: 3.71 MB / 0.52 GB, free: 9.023 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01179/0.4496, allocations: 5.387 MB / 0.5253 GB, free: 3.57 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008244/0.4504, allocations: 0.6785 MB / 0.526 GB, free: 2.891 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003165/0.4536, allocations: 0.8867 MB / 0.5268 GB, free: 2.004 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03265/0.4862, allocations: 12.73 MB / 0.5393 GB, free: 5.246 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002813/0.4865, allocations: 7.953 kB / 0.5393 GB, free: 5.238 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002111/0.4886, allocations: 380 kB / 0.5396 GB, free: 4.867 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004379/0.489, allocations: 399.1 kB / 0.54 GB, free: 4.477 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4181/0.9071, allocations: 11.42 MB / 0.5512 GB, free: 102.7 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04948/0.9566, allocations: 43.72 MB / 0.5939 GB, free: 67.03 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00731/0.9639, allocations: 10.29 MB / 0.6039 GB, free: 55.49 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001717/0.9656, allocations: 1.534 MB / 0.6054 GB, free: 53.96 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002142/0.9658, allocations: 231.6 kB / 0.6056 GB, free: 53.71 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/0.9658, allocations: 56.56 kB / 0.6057 GB, free: 53.64 MB / 462.1 MB Notification: Performance of pre-optimization done (n=223): time 3.877e-06/0.9659, allocations: 0 / 0.6057 GB, free: 53.64 MB / 462.1 MB Notification: Performance of matching and sorting (n=223): time 0.007045/0.9729, allocations: 4.686 MB / 0.6103 GB, free: 48.95 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.082e-05/0.9729, allocations: 81.34 kB / 0.6103 GB, free: 48.86 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003182/0.9761, allocations: 2.93 MB / 0.6132 GB, free: 45.96 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001252/0.9762, allocations: 65.64 kB / 0.6133 GB, free: 45.89 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001273/0.9775, allocations: 3.979 MB / 0.6171 GB, free: 42.32 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004211/0.9779, allocations: 0.8332 MB / 0.618 GB, free: 41.5 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009679/0.9789, allocations: 0.9566 MB / 0.6189 GB, free: 40.53 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.576e-05/0.9789, allocations: 309.1 kB / 0.6192 GB, free: 40.22 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002101/0.981, allocations: 1.973 MB / 0.6211 GB, free: 38.24 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002799/0.9838, allocations: 4.16 MB / 0.6252 GB, free: 33.02 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005135/0.989, allocations: 6.525 MB / 0.6315 GB, free: 25.45 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.679e-05/0.989, allocations: 20 kB / 0.6316 GB, free: 25.43 MB / 462.1 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.007568/0.9966, allocations: 6.524 MB / 0.6379 GB, free: 18.89 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.857e-05/0.9966, allocations: 36 kB / 0.638 GB, free: 18.86 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.341e-05/0.9967, allocations: 80 kB / 0.638 GB, free: 18.78 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007089/0.9974, allocations: 408.8 kB / 0.6384 GB, free: 18.38 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002757/1, allocations: 1.068 MB / 0.6395 GB, free: 17.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00384/1.004, allocations: 4.385 MB / 0.6438 GB, free: 12.79 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002658/1.007, allocations: 0.6286 MB / 0.6444 GB, free: 12.16 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002733/1.007, allocations: 252 kB / 0.6446 GB, free: 11.91 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.004844/1.012, allocations: 3.365 MB / 0.6479 GB, free: 8.531 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005985/1.012, allocations: 290.1 kB / 0.6482 GB, free: 8.246 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004649/1.017, allocations: 3.577 MB / 0.6517 GB, free: 4.641 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003271/1.02, allocations: 2.807 MB / 0.6544 GB, free: 1.824 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/1.02, allocations: 4 kB / 0.6544 GB, free: 1.82 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.026e-05/1.02, allocations: 15.95 kB / 0.6544 GB, free: 1.805 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0176/1.038, allocations: 9.865 MB / 0.6641 GB, free: 7.883 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.349e-05/1.038, allocations: 4 kB / 0.6641 GB, free: 7.879 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001658/1.04, allocations: 415.3 kB / 0.6645 GB, free: 7.473 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000764/1.04, allocations: 329.2 kB / 0.6648 GB, free: 7.148 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001363/1.04, allocations: 51.98 kB / 0.6648 GB, free: 7.098 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005333/1.046, allocations: 4.197 MB / 0.6689 GB, free: 2.758 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/1.046, allocations: 4 kB / 0.6689 GB, free: 2.754 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007898/1.054, allocations: 5.138 MB / 0.6739 GB, free: 13.58 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001219/1.055, allocations: 0.6157 MB / 0.6745 GB, free: 12.94 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003084/1.055, allocations: 39.94 kB / 0.6746 GB, free: 12.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001112/1.056, allocations: 135.8 kB / 0.6747 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003034/1.057, allocations: 145.7 kB / 0.6749 GB, free: 12.63 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001372/1.057, allocations: 67.97 kB / 0.6749 GB, free: 12.56 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002972/1.06, allocations: 1.971 MB / 0.6768 GB, free: 10.58 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/1.06, allocations: 0 / 0.6768 GB, free: 10.58 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005037/1.065, allocations: 1.984 MB / 0.6788 GB, free: 8.59 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.0004877/1.065, allocations: 202.8 kB / 0.679 GB, free: 8.383 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0075/1.073, allocations: 4.441 MB / 0.6833 GB, free: 3.934 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/1.073, allocations: 3.938 kB / 0.6833 GB, free: 3.93 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002579/1.075, allocations: 1.621 MB / 0.6849 GB, free: 2.301 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003131/1.078, allocations: 0.6812 MB / 0.6856 GB, free: 1.637 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02527/1.104, allocations: 13.52 MB / 0.6988 GB, free: 4.055 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006983/1.111, allocations: 5.641 MB / 0.7043 GB, free: 14.38 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.004023/1.115, allocations: 1.69 MB / 0.7059 GB, free: 12.68 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006635/1.115, allocations: 243.4 kB / 0.7062 GB, free: 12.44 MB / 0.5138 GB Notification: Performance of SimCode: time 1.593e-06/1.115, allocations: 0 / 0.7062 GB, free: 12.44 MB / 0.5138 GB Notification: Performance of Templates: time 0.0838/1.199, allocations: 41.34 MB / 0.7465 GB, free: 3.301 MB / 0.545 GB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches