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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001774/0.001774, allocations: 117 kB / 21.18 MB, free: 0.6289 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.001866/0.001866, allocations: 209.3 kB / 24.47 MB, free: 3.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.405/1.405, allocations: 230.4 MB / 258.1 MB, free: 8.137 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-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] "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.001877/0.001877, allocations: 63.84 kB / 378.7 MB, free: 2.883 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.26/0.2619, allocations: 53.33 MB / 432.1 MB, free: 7.363 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01847/0.2804, allocations: 16.61 MB / 448.7 MB, free: 6.676 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009302/0.2897, allocations: 4.169 MB / 452.8 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002046/0.2917, allocations: 139.6 kB / 453 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01542/0.3071, allocations: 7.498 MB / 460.5 MB, free: 10.84 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005161/0.3123, allocations: 1.335 MB / 461.8 MB, free: 9.5 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003025/0.3153, allocations: 1.228 MB / 463 MB, free: 8.27 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01033/0.3256, allocations: 8.262 MB / 471.3 MB, free: 15.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02334/0.349, allocations: 13.67 MB / 485 MB, free: 2.121 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007014/0.356, allocations: 4.816 MB / 489.8 MB, free: 13.29 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00903/0.365, allocations: 5.353 MB / 495.1 MB, free: 7.922 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004071/0.3691, allocations: 1.383 MB / 496.5 MB, free: 6.539 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006349/0.3755, allocations: 1.66 MB / 498.2 MB, free: 4.879 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005021/0.3805, allocations: 2.588 MB / 0.489 GB, free: 2.285 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0102/0.3907, allocations: 5.218 MB / 0.4941 GB, free: 13.05 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02434/0.415, allocations: 18.35 MB / 0.5121 GB, free: 10.64 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.415, allocations: 4 kB / 0.5121 GB, free: 10.63 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.409e-06/0.415, allocations: 7.922 kB / 0.5121 GB, free: 10.62 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005583/0.4156, allocations: 0 / 0.5121 GB, free: 10.62 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.03514/0.4507, allocations: 10.62 MB / 0.5224 GB, free: 15.91 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.541e-05/0.4508, allocations: 8.031 kB / 0.5224 GB, free: 15.9 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02054/0.4713, allocations: 3.71 MB / 0.5261 GB, free: 12.18 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01385/0.4852, allocations: 5.38 MB / 0.5313 GB, free: 6.738 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006948/0.4859, allocations: 0.6785 MB / 0.532 GB, free: 6.059 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004121/0.49, allocations: 0.8867 MB / 0.5329 GB, free: 5.172 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5228/1.013, allocations: 12.73 MB / 0.5453 GB, free: 85.09 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002061/1.013, allocations: 7.703 kB / 0.5453 GB, free: 85.09 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001142/1.014, allocations: 379.7 kB / 0.5457 GB, free: 84.79 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000352/1.015, allocations: 398.1 kB / 0.546 GB, free: 84.77 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02106/1.036, allocations: 11.43 MB / 0.5572 GB, free: 79.65 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06726/1.103, allocations: 43.72 MB / 0.5999 GB, free: 37.91 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008594/1.111, allocations: 10.28 MB / 0.6099 GB, free: 26.39 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00225/1.114, allocations: 1.541 MB / 0.6114 GB, free: 24.85 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003058/1.114, allocations: 232.7 kB / 0.6117 GB, free: 24.6 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.941e-05/1.114, allocations: 52.56 kB / 0.6117 GB, free: 24.54 MB / 446.1 MB Notification: Performance of pre-optimization done (n=223): time 4.569e-06/1.114, allocations: 0 / 0.6117 GB, free: 24.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=223): time 0.008244/1.122, allocations: 4.689 MB / 0.6163 GB, free: 19.83 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/1.122, allocations: 77.34 kB / 0.6164 GB, free: 19.74 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004963/1.127, allocations: 2.932 MB / 0.6192 GB, free: 16.84 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003666/1.128, allocations: 61.7 kB / 0.6193 GB, free: 16.78 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002096/1.13, allocations: 3.98 MB / 0.6232 GB, free: 13.21 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008688/1.131, allocations: 0.8234 MB / 0.624 GB, free: 12.39 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001812/1.132, allocations: 0.9682 MB / 0.6249 GB, free: 11.41 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.079e-05/1.132, allocations: 309.1 kB / 0.6252 GB, free: 11.11 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002594/1.135, allocations: 1.973 MB / 0.6271 GB, free: 9.129 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003433/1.139, allocations: 4.159 MB / 0.6312 GB, free: 3.906 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007681/1.146, allocations: 6.521 MB / 0.6376 GB, free: 12.34 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.726e-05/1.146, allocations: 20 kB / 0.6376 GB, free: 12.32 MB / 462.1 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.0128/1.159, allocations: 6.524 MB / 0.644 GB, free: 5.781 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001045/1.159, allocations: 40.19 kB / 0.644 GB, free: 5.742 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001456/1.159, allocations: 80 kB / 0.6441 GB, free: 5.664 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001192/1.161, allocations: 408.5 kB / 0.6445 GB, free: 5.262 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003781/1.164, allocations: 1.068 MB / 0.6455 GB, free: 4.191 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006197/1.17, allocations: 4.388 MB / 0.6498 GB, free: 15.67 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004137/1.175, allocations: 0.6325 MB / 0.6504 GB, free: 15.03 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001015/1.176, allocations: 248 kB / 0.6506 GB, free: 14.79 MB / 478.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.007018/1.183, allocations: 3.373 MB / 0.6539 GB, free: 11.4 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008711/1.184, allocations: 290.1 kB / 0.6542 GB, free: 11.12 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006842/1.19, allocations: 3.565 MB / 0.6577 GB, free: 7.523 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004593/1.195, allocations: 2.811 MB / 0.6604 GB, free: 4.703 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.552e-05/1.195, allocations: 4 kB / 0.6604 GB, free: 4.699 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.453e-05/1.195, allocations: 11.95 kB / 0.6605 GB, free: 4.688 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0232/1.218, allocations: 9.88 MB / 0.6701 GB, free: 10.76 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-05/1.218, allocations: 160 / 0.6701 GB, free: 10.76 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001836/1.22, allocations: 415.4 kB / 0.6705 GB, free: 10.35 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007804/1.221, allocations: 321.2 kB / 0.6708 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002142/1.221, allocations: 51.98 kB / 0.6709 GB, free: 9.984 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005789/1.227, allocations: 4.19 MB / 0.6749 GB, free: 5.656 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/1.227, allocations: 4.094 kB / 0.675 GB, free: 5.652 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008876/1.236, allocations: 5.15 MB / 0.68 GB, free: 480 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001833/1.238, allocations: 0.6158 MB / 0.6806 GB, free: 15.83 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006899/1.238, allocations: 36 kB / 0.6806 GB, free: 15.79 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001514/1.24, allocations: 135.8 kB / 0.6807 GB, free: 15.66 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003402/1.24, allocations: 145.9 kB / 0.6809 GB, free: 15.52 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001704/1.24, allocations: 71.91 kB / 0.681 GB, free: 15.45 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.003788/1.244, allocations: 1.967 MB / 0.6829 GB, free: 13.47 MB / 0.4982 GB Notification: Performance of sort global known variables: time 9e-08/1.244, allocations: 0 / 0.6829 GB, free: 13.47 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.006339/1.25, allocations: 1.988 MB / 0.6848 GB, free: 11.48 MB / 0.4982 GB 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.0006462/1.251, allocations: 206.7 kB / 0.685 GB, free: 11.27 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.008667/1.26, allocations: 4.437 MB / 0.6893 GB, free: 6.824 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 8.365e-06/1.26, allocations: 1 kB / 0.6893 GB, free: 6.824 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.002952/1.263, allocations: 1.613 MB / 0.6909 GB, free: 5.203 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003721/1.266, allocations: 0.6859 MB / 0.6916 GB, free: 4.535 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03114/1.298, allocations: 13.25 MB / 0.7045 GB, free: 7.215 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009898/1.307, allocations: 5.474 MB / 0.7099 GB, free: 1.703 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001176/1.309, allocations: 287.4 kB / 0.7101 GB, free: 1.422 MB / 0.5138 GB Notification: Performance of SimCode: time 1.313e-06/1.309, allocations: 0 / 0.7101 GB, free: 1.422 MB / 0.5138 GB Notification: Performance of Templates: time 0.3926/1.701, allocations: 133.4 MB / 0.8404 GB, free: 102.3 MB / 0.545 GB " [Timeout remaining time 658] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.765810835175216]