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.00139/0.00139, allocations: 88.34 kB / 20.95 MB, free: 3.457 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.001471/0.001471, allocations: 161.3 kB / 24.26 MB, free: 156 kB / 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 1.485/1.485, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.3643/0.3643, allocations: 34.27 MB / 295.3 MB, free: 0.707 MB / 266.7 MB " [Timeout remaining time 179] 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.124e-06/2.124e-06, allocations: 0 / 377.3 MB, free: 2.988 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.239e-05/3.452e-05, allocations: 2.312 kB / 377.3 MB, free: 2.984 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.004715/0.00475, allocations: 2.517 MB / 379.8 MB, free: 460 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001824/0.006573, allocations: 0.7556 MB / 380.5 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001782/0.006751, allocations: 11.94 kB / 380.6 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002796/0.007031, allocations: 63.27 kB / 380.6 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003082/0.007339, allocations: 111.1 kB / 380.7 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003677/0.007707, allocations: 119.7 kB / 380.8 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005496/0.008257, allocations: 426.3 kB / 381.3 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002453/0.008502, allocations: 95.83 kB / 381.3 MB, free: 14.87 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003233/0.008825, allocations: 231.5 kB / 381.6 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001913/0.009017, allocations: 123.6 kB / 381.7 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.065e-05/0.009077, allocations: 32 kB / 381.7 MB, free: 14.49 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.165e-05/0.009139, allocations: 36 kB / 381.8 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.42e-05/0.009223, allocations: 79.67 kB / 381.8 MB, free: 14.38 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001526/0.009376, allocations: 119.7 kB / 382 MB, free: 14.26 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00056/0.009936, allocations: 434.5 kB / 382.4 MB, free: 13.84 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.009939, allocations: 0 / 382.4 MB, free: 13.84 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.00994, allocations: 0 / 382.4 MB, free: 13.84 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.553e-06/0.009947, allocations: 0 / 382.4 MB, free: 13.84 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.001155/0.0111, allocations: 0.6066 MB / 383 MB, free: 13.2 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.01114, allocations: 8.031 kB / 383 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001276/0.01127, allocations: 68.66 kB / 383.1 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003982/0.01167, allocations: 232.5 kB / 383.3 MB, free: 12.87 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.257e-05/0.0117, allocations: 21.38 kB / 383.3 MB, free: 12.85 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.507e-05/0.01175, allocations: 36.38 kB / 383.3 MB, free: 12.81 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008055/0.01256, allocations: 363 kB / 383.7 MB, free: 12.44 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.01257, allocations: 0 / 383.7 MB, free: 12.44 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.139e-05/0.01262, allocations: 19.98 kB / 383.7 MB, free: 12.42 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.446e-05/0.01263, allocations: 8 kB / 383.7 MB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007358/0.01337, allocations: 259.8 kB / 384 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002251/0.01562, allocations: 1.173 MB / 385.2 MB, free: 10.91 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005492/0.01617, allocations: 190.5 kB / 385.3 MB, free: 10.69 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002535/0.01642, allocations: 87.56 kB / 385.4 MB, free: 10.59 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.273e-05/0.01645, allocations: 7.922 kB / 385.4 MB, free: 10.58 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.823e-05/0.01649, allocations: 38.56 kB / 385.5 MB, free: 10.54 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 1.893e-06/0.01649, allocations: 0 / 385.5 MB, free: 10.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.0008948/0.01739, allocations: 245.5 kB / 385.7 MB, free: 10.29 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001153/0.0175, allocations: 136.5 kB / 385.8 MB, free: 10.12 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003798/0.01788, allocations: 292.4 kB / 386.1 MB, free: 9.832 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.811e-05/0.01791, allocations: 29.64 kB / 386.2 MB, free: 9.797 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002293/0.01814, allocations: 252 kB / 386.4 MB, free: 9.547 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.886e-05/0.01821, allocations: 59.52 kB / 386.5 MB, free: 9.488 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001208/0.01833, allocations: 57.94 kB / 386.5 MB, free: 9.422 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002116/0.01854, allocations: 334.8 kB / 386.8 MB, free: 9.086 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002577/0.0188, allocations: 84.47 kB / 386.9 MB, free: 9.004 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003404/0.01914, allocations: 168.7 kB / 387.1 MB, free: 8.801 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006009/0.01974, allocations: 262.9 kB / 387.4 MB, free: 8.504 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.01974, allocations: 0 / 387.4 MB, free: 8.504 MB / 362.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007706/0.02051, allocations: 313.2 kB / 387.7 MB, free: 8.191 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.02053, allocations: 8 kB / 387.7 MB, free: 8.184 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.02055, allocations: 7.984 kB / 387.7 MB, free: 8.176 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.408e-05/0.02057, allocations: 4 kB / 387.7 MB, free: 8.172 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004444/0.02102, allocations: 87.88 kB / 387.8 MB, free: 8.086 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.338e-05/0.02103, allocations: 7.984 kB / 387.8 MB, free: 8.078 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002964/0.02133, allocations: 43.72 kB / 387.8 MB, free: 8.035 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.779e-05/0.02135, allocations: 16.06 kB / 387.8 MB, free: 8.02 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 0.0001823/0.02154, allocations: 149.7 kB / 388 MB, free: 7.863 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/0.02165, allocations: 31.8 kB / 388 MB, free: 7.832 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.592e-05/0.02172, allocations: 29.58 kB / 388 MB, free: 7.797 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.02173, allocations: 4 kB / 388 MB, free: 7.793 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.02173, allocations: 3.938 kB / 388 MB, free: 7.789 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.924e-06/0.02174, allocations: 3.984 kB / 388 MB, free: 7.785 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008705/0.02261, allocations: 0.5054 MB / 388.6 MB, free: 7.227 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.02261, allocations: 0 / 388.6 MB, free: 7.227 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003057/0.02292, allocations: 55.94 kB / 388.6 MB, free: 7.172 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.02292, allocations: 0 / 388.6 MB, free: 7.172 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.815e-05/0.02294, allocations: 8 kB / 388.6 MB, free: 7.164 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.02295, allocations: 4 kB / 388.6 MB, free: 7.16 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.223e-06/0.02295, allocations: 3.938 kB / 388.6 MB, free: 7.156 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006676/0.02362, allocations: 394.8 kB / 389 MB, free: 6.738 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.144e-05/0.02367, allocations: 31.8 kB / 389 MB, free: 6.707 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.41e-05/0.02371, allocations: 4 kB / 389 MB, free: 6.703 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002354/0.02394, allocations: 15.98 kB / 389.1 MB, free: 6.688 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.601e-05/0.02402, allocations: 23.91 kB / 389.1 MB, free: 6.664 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-05/0.02404, allocations: 12 kB / 389.1 MB, free: 6.652 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002452/0.02428, allocations: 199.1 kB / 389.3 MB, free: 6.461 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.02428, allocations: 4 kB / 389.3 MB, free: 6.457 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000435/0.02472, allocations: 75.78 kB / 389.4 MB, free: 6.383 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 0.000131/0.02485, allocations: 99.19 kB / 389.5 MB, free: 6.277 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005974/0.02544, allocations: 194.8 kB / 389.7 MB, free: 6.09 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.02545, allocations: 8.062 kB / 389.7 MB, free: 6.082 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002328/0.02568, allocations: 71.89 kB / 389.7 MB, free: 6.012 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004379/0.02612, allocations: 27.3 kB / 389.8 MB, free: 5.988 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/0.02723, allocations: 0.5472 MB / 390.3 MB, free: 5.398 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002034/0.02743, allocations: 168.5 kB / 390.5 MB, free: 5.215 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.995e-05/0.02753, allocations: 21.89 kB / 390.5 MB, free: 5.191 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.426e-05/0.02761, allocations: 28.5 kB / 390.5 MB, free: 5.164 MB / 362.7 MB Notification: Performance of SimCode: time 6.01e-07/0.02761, allocations: 0 / 390.5 MB, free: 5.164 MB / 362.7 MB Notification: Performance of Templates: time 0.005512/0.03312, allocations: 1.515 MB / 392 MB, free: 3.664 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources.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: 4.79930543503724]