Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources.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.001159/0.001159, allocations: 77.88 kB / 21.42 MB, free: 3.074 MB / 18.57 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.001539/0.001539, allocations: 166.5 kB / 24.82 MB, free: 9.27 MB / 18.57 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 0.9916/0.9916, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.281/0.281, allocations: 34.26 MB / 296.1 MB, free: 0.6523 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.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.1.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.1.0_ModelicaTest.Magnetic.FluxTubes.Sources") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.285e-06/2.285e-06, allocations: 0 / 378.5 MB, free: 2.402 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.736e-05/2.965e-05, allocations: 6.312 kB / 378.5 MB, free: 2.395 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.003225/0.003255, allocations: 2.657 MB / 381.1 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001221/0.004475, allocations: 0.7826 MB / 381.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001225/0.004598, allocations: 8 kB / 381.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001815/0.004779, allocations: 71.38 kB / 382 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001883/0.004967, allocations: 111 kB / 382.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002151/0.005183, allocations: 107.8 kB / 382.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003001/0.005483, allocations: 434.2 kB / 382.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000165/0.005648, allocations: 103.8 kB / 382.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002092/0.005857, allocations: 231.5 kB / 383 MB, free: 13.88 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001237/0.005981, allocations: 115.7 kB / 383.1 MB, free: 13.77 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.354e-05/0.006024, allocations: 32 kB / 383.1 MB, free: 13.74 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.435e-05/0.006058, allocations: 36 kB / 383.1 MB, free: 13.7 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.196e-05/0.00611, allocations: 75.67 kB / 383.2 MB, free: 13.63 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.106e-05/0.006201, allocations: 131.7 kB / 383.3 MB, free: 13.5 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002481/0.00645, allocations: 270.9 kB / 383.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.006453, allocations: 3.984 kB / 383.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.006454, allocations: 0 / 383.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.006459, allocations: 4 kB / 383.6 MB, free: 13.23 MB / 362.7 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.0006006/0.00706, allocations: 0.6948 MB / 384.3 MB, free: 12.5 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.007093, allocations: 8.031 kB / 384.3 MB, free: 12.49 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.842e-05/0.007162, allocations: 72.66 kB / 384.4 MB, free: 12.42 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001932/0.007355, allocations: 227.4 kB / 384.6 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.007372, allocations: 29.38 kB / 384.6 MB, free: 12.14 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.325e-05/0.007406, allocations: 32.38 kB / 384.7 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003025/0.007708, allocations: 298.9 kB / 385 MB, free: 11.79 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.007717, allocations: 0 / 385 MB, free: 11.79 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.93e-05/0.007736, allocations: 16 kB / 385 MB, free: 11.77 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.007744, allocations: 8 kB / 385 MB, free: 11.76 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001192/0.007863, allocations: 101.4 kB / 385.1 MB, free: 11.67 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001007/0.00887, allocations: 1.279 MB / 386.4 MB, free: 10.32 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001817/0.009052, allocations: 164.6 kB / 386.5 MB, free: 10.11 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.283e-05/0.009095, allocations: 46.86 kB / 386.6 MB, free: 10.04 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.726e-05/0.009112, allocations: 4 kB / 386.6 MB, free: 10.04 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.009137, allocations: 49.27 kB / 386.6 MB, free: 9.98 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 1.323e-06/0.009139, allocations: 0 / 386.6 MB, free: 9.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.000222/0.009361, allocations: 141.3 kB / 386.8 MB, free: 9.836 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.656e-05/0.009427, allocations: 132.5 kB / 386.9 MB, free: 9.676 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000177/0.009604, allocations: 334 kB / 387.2 MB, free: 9.332 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/0.009617, allocations: 33.7 kB / 387.3 MB, free: 9.293 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.009735, allocations: 302.6 kB / 387.5 MB, free: 8.992 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.514e-05/0.00976, allocations: 51.52 kB / 387.6 MB, free: 8.941 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.124e-05/0.009821, allocations: 63.58 kB / 387.7 MB, free: 8.867 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.009949, allocations: 0.5157 MB / 388.2 MB, free: 8.34 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.479e-05/0.009984, allocations: 20.55 kB / 388.2 MB, free: 8.32 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.848e-05/0.01007, allocations: 152.9 kB / 388.3 MB, free: 8.117 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000182/0.01025, allocations: 187.9 kB / 388.5 MB, free: 7.879 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.01026, allocations: 4 kB / 388.5 MB, free: 7.875 MB / 362.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002071/0.01047, allocations: 209.5 kB / 388.7 MB, free: 7.664 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.01048, allocations: 13.66 kB / 388.7 MB, free: 7.652 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.01048, allocations: 0 / 388.7 MB, free: 7.652 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.0105, allocations: 11.98 kB / 388.8 MB, free: 7.641 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001567/0.01065, allocations: 75.89 kB / 388.8 MB, free: 7.566 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.01066, allocations: 7.938 kB / 388.8 MB, free: 7.559 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.798e-05/0.01076, allocations: 35.8 kB / 388.9 MB, free: 7.523 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.01077, allocations: 7.984 kB / 388.9 MB, free: 7.516 MB / 362.7 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 8.866e-05/0.01086, allocations: 180.6 kB / 389.1 MB, free: 7.328 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.28e-05/0.01091, allocations: 35.8 kB / 389.1 MB, free: 7.293 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.37e-05/0.01094, allocations: 29.58 kB / 389.1 MB, free: 7.266 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.01094, allocations: 0 / 389.1 MB, free: 7.266 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.01095, allocations: 0 / 389.1 MB, free: 7.266 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.01095, allocations: 4 kB / 389.1 MB, free: 7.262 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004175/0.01137, allocations: 0.5462 MB / 389.7 MB, free: 6.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.01137, allocations: 0.5625 kB / 389.7 MB, free: 6.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.359e-05/0.01145, allocations: 48.06 kB / 389.7 MB, free: 6.613 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.01146, allocations: 4 kB / 389.7 MB, free: 6.609 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.01147, allocations: 7.984 kB / 389.7 MB, free: 6.602 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.01147, allocations: 8 kB / 389.7 MB, free: 6.594 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01147, allocations: 0 / 389.7 MB, free: 6.594 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001903/0.01166, allocations: 429.2 kB / 390.2 MB, free: 6.133 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.406e-05/0.01168, allocations: 35.73 kB / 390.2 MB, free: 6.098 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/0.0117, allocations: 4 kB / 390.2 MB, free: 6.094 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.535e-05/0.01179, allocations: 15.92 kB / 390.2 MB, free: 6.078 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.658e-05/0.01182, allocations: 23.97 kB / 390.2 MB, free: 6.055 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.72e-06/0.01183, allocations: 4 kB / 390.2 MB, free: 6.051 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.83e-05/0.01192, allocations: 214.9 kB / 390.5 MB, free: 5.844 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01192, allocations: 0 / 390.5 MB, free: 5.844 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002385/0.01215, allocations: 71.84 kB / 390.5 MB, free: 5.773 MB / 362.7 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 6.462e-05/0.01222, allocations: 107.1 kB / 390.6 MB, free: 5.656 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001482/0.01237, allocations: 103.9 kB / 390.7 MB, free: 5.551 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.01237, allocations: 4.062 kB / 390.7 MB, free: 5.547 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.258e-05/0.01241, allocations: 51.05 kB / 390.8 MB, free: 5.496 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002487/0.01266, allocations: 32.58 kB / 390.8 MB, free: 5.465 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005412/0.0132, allocations: 0.5497 MB / 391.4 MB, free: 4.863 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.016e-05/0.01326, allocations: 87.91 kB / 391.5 MB, free: 4.758 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.946e-05/0.01332, allocations: 25.81 kB / 391.5 MB, free: 4.727 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.263e-05/0.01339, allocations: 94.19 kB / 391.6 MB, free: 4.633 MB / 362.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01339, allocations: 0 / 391.6 MB, free: 4.633 MB / 362.7 MB Notification: Performance of Templates: time 0.00354/0.01693, allocations: 1.643 MB / 393.2 MB, free: 3 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Sources/Sources.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.122131520882249]