Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.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.001359/0.001359, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.001579/0.001579, allocations: 209.6 kB / 23.73 MB, free: 4.41 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.602/1.602, allocations: 230.6 MB / 257.5 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2292/0.2292, allocations: 44.95 MB / 358.8 MB, free: 6.066 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Magnetic.FluxTubes.Sensors,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magneticPotentialDifferenceSensor.Phi|magneticFluxSensor.Phi|magneticPotentialDifferenceSensor.V_m",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors") translateModel(ModelicaTest.Magnetic.FluxTubes.Sensors,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magneticPotentialDifferenceSensor.Phi|magneticFluxSensor.Phi|magneticPotentialDifferenceSensor.V_m",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.002084/0.002084, allocations: 69.75 kB / 0.4935 GB, free: 10.06 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4148/0.4169, allocations: 65.47 MB / 0.5574 GB, free: 7.5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.003558/0.4205, allocations: 1.886 MB / 0.5593 GB, free: 5.602 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00108/0.4216, allocations: 0.5531 MB / 0.5598 GB, free: 5.043 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.932e-05/0.4217, allocations: 4 kB / 0.5598 GB, free: 5.039 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002019/0.4219, allocations: 39.67 kB / 0.5599 GB, free: 5 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001423/0.422, allocations: 39.69 kB / 0.5599 GB, free: 4.961 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000167/0.4222, allocations: 43.94 kB / 0.5599 GB, free: 4.918 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000201/0.4224, allocations: 151.4 kB / 0.5601 GB, free: 4.77 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001454/0.4225, allocations: 49.36 kB / 0.5601 GB, free: 4.719 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.951e-05/0.4226, allocations: 55.8 kB / 0.5602 GB, free: 4.664 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.4227, allocations: 55.69 kB / 0.5602 GB, free: 4.609 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.94e-05/0.4227, allocations: 12 kB / 0.5603 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.863e-05/0.4228, allocations: 20 kB / 0.5603 GB, free: 4.578 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.75e-05/0.4228, allocations: 31.91 kB / 0.5603 GB, free: 4.547 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.63e-05/0.4229, allocations: 51.73 kB / 0.5604 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002298/0.4231, allocations: 162.1 kB / 0.5605 GB, free: 4.34 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/0.4231, allocations: 3.984 kB / 0.5605 GB, free: 4.336 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.4231, allocations: 0 / 0.5605 GB, free: 4.336 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.4231, allocations: 0 / 0.5605 GB, free: 4.336 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0006997/0.4238, allocations: 366 kB / 0.5609 GB, free: 3.945 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.4239, allocations: 16.03 kB / 0.5609 GB, free: 3.93 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.433e-05/0.4239, allocations: 16.84 kB / 0.5609 GB, free: 3.914 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002771/0.4242, allocations: 146.2 kB / 0.561 GB, free: 3.746 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.713e-05/0.4242, allocations: 12.66 kB / 0.561 GB, free: 3.734 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.909e-05/0.4243, allocations: 12.38 kB / 0.5611 GB, free: 3.723 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003446/0.4246, allocations: 148.1 kB / 0.5612 GB, free: 3.574 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.4246, allocations: 0 / 0.5612 GB, free: 3.574 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.119e-05/0.4246, allocations: 7.984 kB / 0.5612 GB, free: 3.566 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.4246, allocations: 4 kB / 0.5612 GB, free: 3.562 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002955/0.4249, allocations: 104.8 kB / 0.5613 GB, free: 3.461 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009617/0.4259, allocations: 0.5167 MB / 0.5618 GB, free: 2.895 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002485/0.4261, allocations: 70.58 kB / 0.5619 GB, free: 2.816 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.609e-05/0.4262, allocations: 25.02 kB / 0.5619 GB, free: 2.789 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.4263, allocations: 3.984 kB / 0.5619 GB, free: 2.785 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.4263, allocations: 38.56 kB / 0.5619 GB, free: 2.738 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.4263, allocations: 3.938 kB / 0.5619 GB, free: 2.734 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.000398/0.4267, allocations: 109.5 kB / 0.5621 GB, free: 2.621 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/0.4267, allocations: 51.41 kB / 0.5621 GB, free: 2.559 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001575/0.4269, allocations: 155.4 kB / 0.5622 GB, free: 2.398 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.4269, allocations: 25.7 kB / 0.5623 GB, free: 2.367 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001368/0.4271, allocations: 139.5 kB / 0.5624 GB, free: 2.227 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.098e-05/0.4271, allocations: 23.78 kB / 0.5624 GB, free: 2.203 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.975e-05/0.4271, allocations: 29.72 kB / 0.5625 GB, free: 2.168 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001884/0.4273, allocations: 322.8 kB / 0.5628 GB, free: 1.844 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/0.4274, allocations: 27.98 kB / 0.5628 GB, free: 1.816 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001277/0.4275, allocations: 64.27 kB / 0.5629 GB, free: 1.738 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002246/0.4278, allocations: 96.19 kB / 0.5629 GB, free: 1.629 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.4278, allocations: 0 / 0.5629 GB, free: 1.629 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000315/0.4281, allocations: 121.5 kB / 0.5631 GB, free: 1.504 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.4281, allocations: 4 kB / 0.5631 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.4281, allocations: 4 kB / 0.5631 GB, free: 1.496 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.4281, allocations: 0 / 0.5631 GB, free: 1.496 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/0.4283, allocations: 32.05 kB / 0.5631 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.4283, allocations: 8.078 kB / 0.5631 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.295e-05/0.4284, allocations: 11.94 kB / 0.5631 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.408e-05/0.4284, allocations: 11.92 kB / 0.5631 GB, free: 1.434 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001155/0.4285, allocations: 121.8 kB / 0.5632 GB, free: 1.305 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.886e-05/0.4285, allocations: 7.953 kB / 0.5633 GB, free: 1.297 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.862e-05/0.4286, allocations: 8.406 kB / 0.5633 GB, free: 1.285 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.4286, allocations: 4 kB / 0.5633 GB, free: 1.281 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.4286, allocations: 3.984 kB / 0.5633 GB, free: 1.277 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.4286, allocations: 0 / 0.5633 GB, free: 1.277 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002753/0.4288, allocations: 153.2 kB / 0.5634 GB, free: 1.098 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.4289, allocations: 0 / 0.5634 GB, free: 1.098 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.106e-05/0.4289, allocations: 19.92 kB / 0.5634 GB, free: 1.078 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.4289, allocations: 3.938 kB / 0.5634 GB, free: 1.074 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.429, allocations: 0 / 0.5634 GB, free: 1.074 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.429, allocations: 0 / 0.5634 GB, free: 1.074 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.429, allocations: 0 / 0.5634 GB, free: 1.074 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002876/0.4292, allocations: 191.6 kB / 0.5636 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.994e-05/0.4293, allocations: 11.95 kB / 0.5636 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.4293, allocations: 4 kB / 0.5636 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.267e-05/0.4294, allocations: 7.938 kB / 0.5636 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.014e-05/0.4294, allocations: 7.984 kB / 0.5636 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.4294, allocations: 3.984 kB / 0.5637 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.893e-05/0.4295, allocations: 115.2 kB / 0.5638 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4295, allocations: 0 / 0.5638 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002494/0.4298, allocations: 27.89 kB / 0.5638 GB, free: 0.6953 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001127/0.4299, allocations: 95.19 kB / 0.5639 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002652/0.4301, allocations: 75.83 kB / 0.564 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.4301, allocations: 0 / 0.564 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.679e-05/0.4302, allocations: 31.97 kB / 0.564 GB, free: 500 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002652/0.4305, allocations: 6.531 kB / 0.564 GB, free: 496 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005536/0.4311, allocations: 264.9 kB / 0.5642 GB, free: 204 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.789e-05/0.4311, allocations: 98.27 kB / 0.5643 GB, free: 84 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.132e-05/0.4312, allocations: 4 kB / 0.5643 GB, free: 80 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.85e-05/0.4312, allocations: 11.44 kB / 0.5644 GB, free: 68 kB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4312, allocations: 0 / 0.5644 GB, free: 68 kB / 398.1 MB Notification: Performance of Templates: time 0.003688/0.4349, allocations: 0.7755 MB / 0.5651 GB, free: 15.3 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Sensors/Sensors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.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: 5.39810130931437]