Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001595/0.001595, allocations: 105.9 kB / 20.37 MB, free: 2.105 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001521/0.001521, allocations: 197.4 kB / 23.52 MB, free: 5.406 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 225.6 MB / 252.1 MB, free: 13.43 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2221/0.2221, allocations: 44.92 MB / 352.1 MB, free: 12.32 MB / 286.1 MB [Timeout remaining time 90] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Magnetic.FluxTubes.Sources,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|constantSource.V_m|constantSource.Phi|signalSource.V_m|signalSource.Phi|constantSource1.Phi|constantSource1.V_m|signalSource1.Phi|signalSource1.V_m",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources") translateModel(ModelicaTest.Magnetic.FluxTubes.Sources,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|constantSource.V_m|constantSource.Phi|signalSource.V_m|signalSource.Phi|constantSource1.Phi|constantSource1.V_m|signalSource1.Phi|signalSource1.V_m",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 71.88 kB / 495.6 MB, free: 2.055 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3451/0.3471, allocations: 64.25 MB / 0.5467 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.004451/0.3516, allocations: 2.674 MB / 0.5494 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001446/0.353, allocations: 0.7543 MB / 0.5501 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001571/0.3532, allocations: 4.938 kB / 0.5501 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00025/0.3534, allocations: 72.52 kB / 0.5502 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002562/0.3537, allocations: 100.4 kB / 0.5503 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003043/0.354, allocations: 114.8 kB / 0.5504 GB, free: 10.26 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004453/0.3544, allocations: 417.1 kB / 0.5508 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002282/0.3547, allocations: 106.6 kB / 0.5509 GB, free: 9.941 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002378/0.3549, allocations: 152.6 kB / 0.551 GB, free: 9.852 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001925/0.3551, allocations: 167.3 kB / 0.5512 GB, free: 9.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.652e-05/0.3551, allocations: 33.94 kB / 0.5512 GB, free: 9.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.384e-05/0.3552, allocations: 33.06 kB / 0.5512 GB, free: 9.73 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.263e-05/0.3553, allocations: 80.69 kB / 0.5513 GB, free: 9.66 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001725/0.3555, allocations: 175.9 kB / 0.5515 GB, free: 9.539 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005039/0.356, allocations: 433.3 kB / 0.5519 GB, free: 9.215 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.356, allocations: 3.938 kB / 0.5519 GB, free: 9.211 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.356, allocations: 0 / 0.5519 GB, free: 9.211 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.676e-06/0.356, allocations: 1.219 kB / 0.5519 GB, free: 9.211 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.00119/0.3572, allocations: 0.6747 MB / 0.5526 GB, free: 8.617 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.3572, allocations: 13.75 kB / 0.5526 GB, free: 8.613 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.273e-05/0.3573, allocations: 40.45 kB / 0.5526 GB, free: 8.594 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004351/0.3577, allocations: 274.7 kB / 0.5529 GB, free: 8.312 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.763e-05/0.3578, allocations: 22.84 kB / 0.5529 GB, free: 8.305 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.524e-05/0.3578, allocations: 33.66 kB / 0.5529 GB, free: 8.293 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007143/0.3585, allocations: 365.8 kB / 0.5533 GB, free: 8.055 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.3585, allocations: 5.031 kB / 0.5533 GB, free: 8.051 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.43e-05/0.3586, allocations: 15.47 kB / 0.5533 GB, free: 8.039 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.3586, allocations: 7.938 kB / 0.5533 GB, free: 8.039 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006394/0.3592, allocations: 263.8 kB / 0.5536 GB, free: 7.922 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002176/0.3614, allocations: 1.335 MB / 0.5549 GB, free: 6.754 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005214/0.3619, allocations: 196.7 kB / 0.5551 GB, free: 6.598 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002163/0.3621, allocations: 82.16 kB / 0.5551 GB, free: 6.535 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.357e-05/0.3622, allocations: 6.016 kB / 0.5551 GB, free: 6.531 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.3622, allocations: 36.66 kB / 0.5552 GB, free: 6.488 MB / 398.1 MB Notification: Performance of pre-optimization done (n=15): time 3.466e-06/0.3622, allocations: 4 kB / 0.5552 GB, free: 6.484 MB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007883/0.363, allocations: 244.1 kB / 0.5554 GB, free: 6.355 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.733e-05/0.3631, allocations: 135.3 kB / 0.5555 GB, free: 6.195 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003896/0.3635, allocations: 329.3 kB / 0.5559 GB, free: 5.98 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.412e-05/0.3635, allocations: 33.83 kB / 0.5559 GB, free: 5.941 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000186/0.3637, allocations: 234.6 kB / 0.5561 GB, free: 5.73 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.435e-05/0.3638, allocations: 66.39 kB / 0.5562 GB, free: 5.672 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.95e-05/0.3639, allocations: 53.67 kB / 0.5562 GB, free: 5.629 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002118/0.3641, allocations: 341.1 kB / 0.5565 GB, free: 5.293 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002318/0.3643, allocations: 80 kB / 0.5566 GB, free: 5.258 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003708/0.3647, allocations: 168.7 kB / 0.5568 GB, free: 5.105 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000533/0.3652, allocations: 255.1 kB / 0.557 GB, free: 4.906 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.3652, allocations: 1.156 kB / 0.557 GB, free: 4.906 MB / 398.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000696/0.3659, allocations: 313.9 kB / 0.5573 GB, free: 4.66 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.3659, allocations: 10.34 kB / 0.5573 GB, free: 4.652 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.3659, allocations: 8.062 kB / 0.5573 GB, free: 4.645 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/0.366, allocations: 7.938 kB / 0.5574 GB, free: 4.637 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004152/0.3664, allocations: 91.8 kB / 0.5574 GB, free: 4.547 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.3664, allocations: 4 kB / 0.5574 GB, free: 4.543 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002921/0.3667, allocations: 55.8 kB / 0.5575 GB, free: 4.488 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.424e-05/0.3667, allocations: 16 kB / 0.5575 GB, free: 4.473 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (34): * Single equations (assignments): 34 * 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.0001652/0.3669, allocations: 145.7 kB / 0.5577 GB, free: 4.32 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.367, allocations: 31.81 kB / 0.5577 GB, free: 4.289 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.2e-05/0.367, allocations: 30.41 kB / 0.5577 GB, free: 4.254 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.251e-06/0.367, allocations: 4 kB / 0.5577 GB, free: 4.25 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.367, allocations: 0 / 0.5577 GB, free: 4.25 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.3671, allocations: 0 / 0.5577 GB, free: 4.25 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008718/0.3679, allocations: 0.5954 MB / 0.5583 GB, free: 3.582 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3679, allocations: 0 / 0.5583 GB, free: 3.582 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002749/0.3682, allocations: 59.88 kB / 0.5584 GB, free: 3.523 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.3682, allocations: 4.438 kB / 0.5584 GB, free: 3.52 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.923e-05/0.3682, allocations: 11.94 kB / 0.5584 GB, free: 3.508 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/0.3682, allocations: 7.984 kB / 0.5584 GB, free: 3.5 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.3682, allocations: 0 / 0.5584 GB, free: 3.5 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005955/0.3688, allocations: 394.8 kB / 0.5588 GB, free: 3.082 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001071/0.3689, allocations: 108.8 kB / 0.5589 GB, free: 2.957 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.051e-05/0.369, allocations: 11.94 kB / 0.5589 GB, free: 2.945 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002223/0.3692, allocations: 11.98 kB / 0.5589 GB, free: 2.934 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.581e-05/0.3693, allocations: 19.92 kB / 0.5589 GB, free: 2.914 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.3693, allocations: 15.98 kB / 0.5589 GB, free: 2.898 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002747/0.3696, allocations: 227 kB / 0.5591 GB, free: 2.676 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3696, allocations: 0 / 0.5591 GB, free: 2.676 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004086/0.37, allocations: 71.84 kB / 0.5592 GB, free: 2.605 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (15): * Single equations (assignments): 15 * 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.0001279/0.3701, allocations: 99.25 kB / 0.5593 GB, free: 2.5 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005324/0.3706, allocations: 183.4 kB / 0.5595 GB, free: 2.324 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.3706, allocations: 4 kB / 0.5595 GB, free: 2.32 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002316/0.3709, allocations: 84.62 kB / 0.5596 GB, free: 2.238 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000424/0.3713, allocations: 25.75 kB / 0.5596 GB, free: 2.215 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.3724, allocations: 0.5819 MB / 0.5601 GB, free: 1.582 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000446/0.3728, allocations: 0.7712 MB / 0.5609 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.003e-05/0.3729, allocations: 31.36 kB / 0.5609 GB, free: 0.75 MB / 398.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3729, allocations: 0 / 0.5609 GB, free: 0.75 MB / 398.1 MB Notification: Performance of Templates: time 0.005627/0.3785, allocations: 3.168 MB / 0.564 GB, free: 13.58 MB / 414.1 MB [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Sources/Sources.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches