Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.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.001444/0.001444, allocations: 102 kB / 21.93 MB, free: 5.195 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.001653/0.001653, allocations: 203.2 kB / 25.22 MB, free: 3.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.517/1.517, allocations: 207.7 MB / 236.1 MB, free: 9.773 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.QuasiStationary.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001857/0.001857, allocations: 51.92 kB / 348.5 MB, free: 9.352 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.324, allocations: 49.15 MB / 397.6 MB, free: 9.395 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.0153/0.3393, allocations: 14.52 MB / 412.1 MB, free: 15.68 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01174/0.351, allocations: 4.148 MB / 416.3 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004507/0.3555, allocations: 138.8 kB / 416.4 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01811/0.3736, allocations: 6.946 MB / 423.4 MB, free: 7.531 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00824/0.3819, allocations: 1.392 MB / 424.8 MB, free: 6.402 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005147/0.387, allocations: 1.328 MB / 426.1 MB, free: 5.359 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01285/0.3999, allocations: 8.629 MB / 434.7 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02726/0.4271, allocations: 14.31 MB / 449 MB, free: 15.46 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009636/0.4368, allocations: 5.058 MB / 454.1 MB, free: 10.39 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01082/0.4476, allocations: 5.4 MB / 459.5 MB, free: 4.969 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005099/0.4527, allocations: 1.406 MB / 460.9 MB, free: 3.562 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00838/0.4611, allocations: 1.652 MB / 462.5 MB, free: 1.91 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006062/0.4671, allocations: 2.712 MB / 465.3 MB, free: 15.19 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01217/0.4793, allocations: 4.187 MB / 469.4 MB, free: 10.99 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02953/0.5088, allocations: 18.67 MB / 488.1 MB, free: 8.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.027e-06/0.5088, allocations: 0 / 488.1 MB, free: 8.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.907e-06/0.5088, allocations: 3.938 kB / 488.1 MB, free: 8.266 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0006777/0.5095, allocations: 0 / 488.1 MB, free: 8.266 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2571 * Number of variables: 2571 Notification: Performance of Generate backend data structure: time 0.03825/0.5478, allocations: 10.9 MB / 499 MB, free: 13.29 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.034e-05/0.5478, allocations: 15.98 kB / 499 MB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03075/0.5786, allocations: 5.75 MB / 0.4929 GB, free: 7.508 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01402/0.5926, allocations: 4.907 MB / 0.4977 GB, free: 2.543 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008228/0.5934, allocations: 0.7025 MB / 0.4984 GB, free: 1.84 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004369/0.5978, allocations: 0.9179 MB / 0.4993 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04145/0.6392, allocations: 13.68 MB / 0.5127 GB, free: 3.18 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000385/0.6396, allocations: 7.938 kB / 0.5127 GB, free: 3.172 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004137/0.6438, allocations: 392 kB / 0.5131 GB, free: 2.789 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005395/0.6443, allocations: 456 kB / 0.5135 GB, free: 2.34 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03438/0.6787, allocations: 12.78 MB / 0.526 GB, free: 5.531 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5127/1.191, allocations: 39.26 MB / 0.5643 GB, free: 118.8 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01197/1.203, allocations: 5.306 MB / 0.5695 GB, free: 118.7 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003268/1.207, allocations: 1.702 MB / 0.5712 GB, free: 118.7 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01129/1.218, allocations: 5.392 MB / 0.5764 GB, free: 118.4 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.026e-05/1.218, allocations: 57.53 kB / 0.5765 GB, free: 118.3 MB / 478.1 MB Notification: Performance of pre-optimization done (n=188): time 5.07e-06/1.218, allocations: 0 / 0.5765 GB, free: 118.3 MB / 478.1 MB Notification: Performance of matching and sorting (n=188): time 0.008116/1.226, allocations: 4.228 MB / 0.5806 GB, free: 118.2 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/1.226, allocations: 73.25 kB / 0.5807 GB, free: 118.1 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005634/1.232, allocations: 3.478 MB / 0.5841 GB, free: 117.4 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002889/1.232, allocations: 57.64 kB / 0.5841 GB, free: 117.3 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003443/1.236, allocations: 4.355 MB / 0.5884 GB, free: 114.6 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000871/1.236, allocations: 0.7233 MB / 0.5891 GB, free: 114.1 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001786/1.238, allocations: 1.068 MB / 0.5901 GB, free: 113.6 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 5.945e-05/1.238, allocations: 305.1 kB / 0.5904 GB, free: 113.3 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003691/1.242, allocations: 2.043 MB / 0.5924 GB, free: 112.6 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005285/1.247, allocations: 4.689 MB / 0.597 GB, free: 108.3 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009832/1.257, allocations: 7.089 MB / 0.6039 GB, free: 102.8 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001567/1.257, allocations: 26.28 kB / 0.6039 GB, free: 102.8 MB / 478.1 MB Notification: Performance of matching and sorting (n=649) (initialization): time 0.01605/1.273, allocations: 7.028 MB / 0.6108 GB, free: 99.74 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001718/1.273, allocations: 43.41 kB / 0.6109 GB, free: 99.74 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002319/1.274, allocations: 90.56 kB / 0.6109 GB, free: 99.74 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001245/1.275, allocations: 431 kB / 0.6114 GB, free: 99.6 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005361/1.28, allocations: 1.173 MB / 0.6125 GB, free: 99.31 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006236/1.286, allocations: 4.179 MB / 0.6166 GB, free: 96.28 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006169/1.293, allocations: 0.7321 MB / 0.6173 GB, free: 95.8 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001242/1.294, allocations: 289.3 kB / 0.6176 GB, free: 95.75 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 418 * 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 (623): * Single equations (assignments): 621 * 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.008218/1.302, allocations: 3.483 MB / 0.621 GB, free: 93.55 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001092/1.303, allocations: 300.5 kB / 0.6213 GB, free: 93.39 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006313/1.31, allocations: 3.297 MB / 0.6245 GB, free: 90.22 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003017/1.313, allocations: 2.534 MB / 0.627 GB, free: 87.68 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-05/1.313, allocations: 8 kB / 0.627 GB, free: 87.67 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.761e-05/1.313, allocations: 11.95 kB / 0.627 GB, free: 87.66 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01456/1.327, allocations: 7.429 MB / 0.6342 GB, free: 80.21 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.847e-06/1.327, allocations: 3.938 kB / 0.6342 GB, free: 80.21 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00125/1.328, allocations: 363.4 kB / 0.6346 GB, free: 79.86 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005968/1.329, allocations: 317.2 kB / 0.6349 GB, free: 79.54 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.896e-05/1.329, allocations: 40 kB / 0.6349 GB, free: 79.5 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003586/1.333, allocations: 4.02 MB / 0.6388 GB, free: 75.39 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/1.333, allocations: 3.938 kB / 0.6388 GB, free: 75.39 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005131/1.338, allocations: 4.698 MB / 0.6434 GB, free: 70.66 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001293/1.339, allocations: 0.5404 MB / 0.644 GB, free: 70.12 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003285/1.339, allocations: 36 kB / 0.644 GB, free: 70.08 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001092/1.341, allocations: 127.8 kB / 0.6441 GB, free: 69.96 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002123/1.341, allocations: 137.7 kB / 0.6442 GB, free: 69.82 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001008/1.341, allocations: 55.98 kB / 0.6443 GB, free: 69.77 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002461/1.343, allocations: 2.17 MB / 0.6464 GB, free: 67.59 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.8e-07/1.343, allocations: 0 / 0.6464 GB, free: 67.59 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00496/1.348, allocations: 2.062 MB / 0.6484 GB, free: 65.52 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (180): * Single equations (assignments): 178 * 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.0004093/1.349, allocations: 190.7 kB / 0.6486 GB, free: 65.33 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006166/1.355, allocations: 4.524 MB / 0.653 GB, free: 60.82 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/1.355, allocations: 0 / 0.653 GB, free: 60.82 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001758/1.357, allocations: 1.475 MB / 0.6545 GB, free: 59.33 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002973/1.36, allocations: 0.6794 MB / 0.6551 GB, free: 58.66 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02189/1.381, allocations: 13.79 MB / 0.6686 GB, free: 44.83 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004596/1.386, allocations: 5.159 MB / 0.6736 GB, free: 39.64 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009951/1.387, allocations: 275.4 kB / 0.6739 GB, free: 39.37 MB / 478.1 MB Notification: Performance of SimCode: time 9.82e-07/1.387, allocations: 0 / 0.6739 GB, free: 39.37 MB / 478.1 MB Notification: Performance of Templates: time 0.3916/1.779, allocations: 139.5 MB / 0.8102 GB, free: 140.2 MB / 0.5138 GB " [Timeout remaining time 658] make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.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: 14.696738835424185]