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.001304/0.001304, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001403/0.001403, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.416/1.416, allocations: 230.6 MB / 258.3 MB, free: 7.98 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.001749/0.001749, allocations: 51.92 kB / 379 MB, free: 2.613 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2607/0.2625, allocations: 53.36 MB / 432.4 MB, free: 6.926 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01992/0.2824, allocations: 16.61 MB / 449 MB, free: 6.242 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01043/0.2928, allocations: 4.169 MB / 453.2 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003933/0.2968, allocations: 159.2 kB / 453.3 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01776/0.3145, allocations: 7.51 MB / 460.8 MB, free: 10.38 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006511/0.321, allocations: 1.372 MB / 462.2 MB, free: 8.996 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004521/0.3256, allocations: 1.259 MB / 463.5 MB, free: 7.738 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01253/0.3381, allocations: 8.304 MB / 471.8 MB, free: 15.4 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02876/0.3668, allocations: 14.37 MB / 486.2 MB, free: 0.8398 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00793/0.3748, allocations: 4.906 MB / 491.1 MB, free: 11.92 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009656/0.3844, allocations: 5.357 MB / 496.4 MB, free: 6.543 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003815/0.3882, allocations: 1.383 MB / 497.8 MB, free: 5.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005248/0.3935, allocations: 1.671 MB / 499.5 MB, free: 3.492 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00442/0.3979, allocations: 2.588 MB / 0.4903 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009832/0.4077, allocations: 5.218 MB / 0.4954 GB, free: 11.66 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02526/0.433, allocations: 18.36 MB / 0.5133 GB, free: 9.25 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.433, allocations: 0 / 0.5133 GB, free: 9.25 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.433, allocations: 4 kB / 0.5133 GB, free: 9.246 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005201/0.4335, allocations: 4 kB / 0.5133 GB, free: 9.242 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.03317/0.4667, allocations: 10.55 MB / 0.5236 GB, free: 14.62 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.4667, allocations: 16.02 kB / 0.5236 GB, free: 14.61 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01982/0.4866, allocations: 3.702 MB / 0.5273 GB, free: 10.89 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01274/0.4993, allocations: 5.433 MB / 0.5326 GB, free: 5.402 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007575/0.5001, allocations: 0.6785 MB / 0.5332 GB, free: 4.723 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00302/0.5031, allocations: 0.8867 MB / 0.5341 GB, free: 3.836 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4315/0.9346, allocations: 12.74 MB / 0.5465 GB, free: 84.68 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003828/0.935, allocations: 14.7 kB / 0.5465 GB, free: 84.68 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00276/0.9377, allocations: 379.2 kB / 0.5469 GB, free: 84.39 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003379/0.9381, allocations: 399.4 kB / 0.5473 GB, free: 84.36 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02439/0.9624, allocations: 11.42 MB / 0.5584 GB, free: 79.05 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0653/1.028, allocations: 42.37 MB / 0.5998 GB, free: 37.75 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007493/1.035, allocations: 4.21 MB / 0.6039 GB, free: 33.79 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001931/1.037, allocations: 1.534 MB / 0.6054 GB, free: 32.27 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002584/1.037, allocations: 82.06 kB / 0.6055 GB, free: 32.2 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.072e-05/1.037, allocations: 59.62 kB / 0.6056 GB, free: 32.14 MB / 446.1 MB Notification: Performance of pre-optimization done (n=223): time 4.86e-06/1.037, allocations: 0 / 0.6056 GB, free: 32.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=223): time 0.007266/1.045, allocations: 4.595 MB / 0.61 GB, free: 27.54 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.203e-05/1.045, allocations: 81.34 kB / 0.6101 GB, free: 27.45 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004346/1.049, allocations: 2.936 MB / 0.613 GB, free: 24.54 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001905/1.049, allocations: 57.7 kB / 0.613 GB, free: 24.48 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001672/1.051, allocations: 3.98 MB / 0.6169 GB, free: 20.9 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005847/1.052, allocations: 0.8247 MB / 0.6177 GB, free: 20.09 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001339/1.053, allocations: 0.9643 MB / 0.6187 GB, free: 19.11 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.793e-05/1.053, allocations: 305.1 kB / 0.619 GB, free: 18.81 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002385/1.055, allocations: 1.973 MB / 0.6209 GB, free: 16.83 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002945/1.058, allocations: 4.161 MB / 0.625 GB, free: 11.6 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005348/1.064, allocations: 6.517 MB / 0.6313 GB, free: 4.035 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-05/1.064, allocations: 24 kB / 0.6313 GB, free: 4.012 MB / 446.1 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.009581/1.073, allocations: 6.524 MB / 0.6377 GB, free: 13.47 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.283e-05/1.073, allocations: 39.94 kB / 0.6378 GB, free: 13.43 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001358/1.073, allocations: 76 kB / 0.6378 GB, free: 13.36 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001077/1.075, allocations: 416.7 kB / 0.6382 GB, free: 12.95 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003648/1.078, allocations: 1.065 MB / 0.6393 GB, free: 11.88 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005829/1.084, allocations: 4.288 MB / 0.6435 GB, free: 7.492 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00357/1.088, allocations: 0.6286 MB / 0.6441 GB, free: 6.859 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007937/1.088, allocations: 252 kB / 0.6443 GB, free: 6.613 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.006756/1.095, allocations: 3.365 MB / 0.6476 GB, free: 3.234 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008715/1.096, allocations: 290.1 kB / 0.6479 GB, free: 2.949 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006969/1.103, allocations: 3.569 MB / 0.6514 GB, free: 15.35 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004665/1.108, allocations: 2.815 MB / 0.6541 GB, free: 12.53 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.507e-05/1.108, allocations: 4 kB / 0.6541 GB, free: 12.52 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.339e-05/1.108, allocations: 11.95 kB / 0.6541 GB, free: 12.51 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02169/1.129, allocations: 9.907 MB / 0.6638 GB, free: 2.547 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.445e-05/1.129, allocations: 4 kB / 0.6638 GB, free: 2.543 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001732/1.131, allocations: 411.4 kB / 0.6642 GB, free: 2.141 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008317/1.132, allocations: 316.7 kB / 0.6645 GB, free: 1.828 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002265/1.132, allocations: 55.97 kB / 0.6645 GB, free: 1.773 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005693/1.138, allocations: 4.095 MB / 0.6685 GB, free: 13.56 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/1.138, allocations: 4 kB / 0.6685 GB, free: 13.56 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008717/1.147, allocations: 5.154 MB / 0.6736 GB, free: 8.371 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001742/1.148, allocations: 0.5677 MB / 0.6741 GB, free: 7.801 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006449/1.149, allocations: 36 kB / 0.6742 GB, free: 7.766 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001465/1.15, allocations: 135.8 kB / 0.6743 GB, free: 7.633 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003345/1.151, allocations: 153.7 kB / 0.6744 GB, free: 7.484 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001534/1.151, allocations: 67.98 kB / 0.6745 GB, free: 7.418 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003985/1.155, allocations: 1.967 MB / 0.6764 GB, free: 5.441 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/1.155, allocations: 0 / 0.6764 GB, free: 5.441 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005533/1.16, allocations: 1.984 MB / 0.6784 GB, free: 3.449 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.0005555/1.161, allocations: 206.7 kB / 0.6786 GB, free: 3.238 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008142/1.169, allocations: 4.44 MB / 0.6829 GB, free: 14.79 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 8.977e-06/1.169, allocations: 4 kB / 0.6829 GB, free: 14.79 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.002954/1.172, allocations: 1.614 MB / 0.6845 GB, free: 13.17 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003697/1.176, allocations: 0.6806 MB / 0.6851 GB, free: 12.51 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02846/1.204, allocations: 13.27 MB / 0.6981 GB, free: 15.18 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009292/1.214, allocations: 5.47 MB / 0.7034 GB, free: 9.668 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001125/1.215, allocations: 283.4 kB / 0.7037 GB, free: 9.391 MB / 0.5138 GB Notification: Performance of SimCode: time 1.392e-06/1.215, allocations: 4 kB / 0.7037 GB, free: 9.387 MB / 0.5138 GB Notification: Performance of Templates: time 0.3777/1.592, allocations: 133.4 MB / 0.834 GB, free: 107.4 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 -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: 13.522611998952925]