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.00126/0.00126, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001513/0.001513, allocations: 164 kB / 24.99 MB, free: 8.344 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 1.036/1.036, allocations: 177.1 MB / 205.3 MB, free: 5.613 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.2629/0.2629, allocations: 34.26 MB / 296.1 MB, free: 0.707 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.315e-06/2.315e-06, allocations: 0 / 378 MB, free: 2.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.78e-05/4.012e-05, allocations: 13.7 kB / 378 MB, free: 2.969 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.004725/0.004765, allocations: 2.693 MB / 380.7 MB, free: 264 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001794/0.006559, allocations: 0.7671 MB / 381.5 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002239/0.006783, allocations: 8 kB / 381.5 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002819/0.007065, allocations: 75.31 kB / 381.5 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003286/0.007393, allocations: 111 kB / 381.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003498/0.007743, allocations: 111.8 kB / 381.8 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005676/0.008311, allocations: 438.2 kB / 382.2 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002666/0.008577, allocations: 95.84 kB / 382.3 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000418/0.008995, allocations: 231.5 kB / 382.5 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000207/0.009202, allocations: 123.6 kB / 382.6 MB, free: 14.31 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.085e-05/0.009273, allocations: 36 kB / 382.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.234e-05/0.009326, allocations: 32 kB / 382.7 MB, free: 14.24 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.542e-05/0.009401, allocations: 83.66 kB / 382.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001415/0.009542, allocations: 115.8 kB / 382.9 MB, free: 14.05 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004211/0.009964, allocations: 274.9 kB / 383.2 MB, free: 13.78 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.009968, allocations: 0 / 383.2 MB, free: 13.78 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.009969, allocations: 0 / 383.2 MB, free: 13.78 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.377e-05/0.009983, allocations: 0 / 383.2 MB, free: 13.78 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.0007442/0.01073, allocations: 0.6949 MB / 383.9 MB, free: 13.05 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.01077, allocations: 12.02 kB / 383.9 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.858e-05/0.01086, allocations: 76.59 kB / 383.9 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002354/0.0111, allocations: 231.4 kB / 384.2 MB, free: 12.7 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.01112, allocations: 29.38 kB / 384.2 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.169e-05/0.01115, allocations: 28.38 kB / 384.2 MB, free: 12.65 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003695/0.01152, allocations: 315 kB / 384.5 MB, free: 12.31 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.01153, allocations: 0 / 384.5 MB, free: 12.31 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.608e-05/0.01156, allocations: 16 kB / 384.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.01157, allocations: 8 kB / 384.6 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002018/0.01177, allocations: 135 kB / 384.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00131/0.01308, allocations: 1.317 MB / 386 MB, free: 10.76 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002759/0.01336, allocations: 176.5 kB / 386.2 MB, free: 10.54 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.299e-05/0.01342, allocations: 58.84 kB / 386.2 MB, free: 10.46 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.409e-05/0.01344, allocations: 7.938 kB / 386.2 MB, free: 10.46 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.01347, allocations: 41.39 kB / 386.3 MB, free: 10.41 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 1.262e-06/0.01347, allocations: 0 / 386.3 MB, free: 10.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002909/0.01376, allocations: 141.3 kB / 386.4 MB, free: 10.26 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.06e-05/0.01381, allocations: 136.5 kB / 386.6 MB, free: 10.1 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002083/0.01402, allocations: 338.3 kB / 386.9 MB, free: 9.75 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.01403, allocations: 29.7 kB / 386.9 MB, free: 9.715 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.01416, allocations: 306.7 kB / 387.2 MB, free: 9.41 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.032e-05/0.01419, allocations: 55.53 kB / 387.3 MB, free: 9.355 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.48e-05/0.01425, allocations: 59.59 kB / 387.3 MB, free: 9.285 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.01437, allocations: 0.5079 MB / 387.8 MB, free: 8.766 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.915e-05/0.01443, allocations: 32.48 kB / 387.9 MB, free: 8.734 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001124/0.01455, allocations: 153 kB / 388 MB, free: 8.531 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001733/0.01472, allocations: 207.7 kB / 388.2 MB, free: 8.273 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.01472, allocations: 0 / 388.2 MB, free: 8.273 MB / 362.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002507/0.01497, allocations: 221.2 kB / 388.4 MB, free: 8.051 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.01499, allocations: 12.25 kB / 388.4 MB, free: 8.039 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/0.015, allocations: 7.938 kB / 388.5 MB, free: 8.031 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.01502, allocations: 7.938 kB / 388.5 MB, free: 8.023 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001841/0.0152, allocations: 75.89 kB / 388.5 MB, free: 7.949 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.327e-06/0.01521, allocations: 4 kB / 388.5 MB, free: 7.945 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.01532, allocations: 39.78 kB / 388.6 MB, free: 7.906 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/0.01533, allocations: 8 kB / 388.6 MB, free: 7.898 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.0001072/0.01544, allocations: 172.5 kB / 388.8 MB, free: 7.719 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.472e-05/0.0155, allocations: 35.8 kB / 388.8 MB, free: 7.684 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.18e-05/0.01555, allocations: 33.58 kB / 388.8 MB, free: 7.652 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.01555, allocations: 4 kB / 388.8 MB, free: 7.648 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.01555, allocations: 0.5625 kB / 388.8 MB, free: 7.648 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.01556, allocations: 3.984 kB / 388.8 MB, free: 7.645 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004959/0.01606, allocations: 0.5964 MB / 389.4 MB, free: 6.984 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.01606, allocations: 4 kB / 389.4 MB, free: 6.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.512e-05/0.01616, allocations: 48.19 kB / 389.5 MB, free: 6.934 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.01616, allocations: 4.156 kB / 389.5 MB, free: 6.93 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.01617, allocations: 8 kB / 389.5 MB, free: 6.922 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.01617, allocations: 0 / 389.5 MB, free: 6.922 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.644e-06/0.01617, allocations: 4 kB / 389.5 MB, free: 6.918 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002374/0.01641, allocations: 433.2 kB / 389.9 MB, free: 6.453 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.967e-05/0.01644, allocations: 39.73 kB / 390 MB, free: 6.414 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.055e-05/0.01646, allocations: 0 / 390 MB, free: 6.414 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.824e-05/0.01655, allocations: 16 kB / 390 MB, free: 6.398 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.843e-05/0.01661, allocations: 23.84 kB / 390 MB, free: 6.375 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.01662, allocations: 8 kB / 390 MB, free: 6.367 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001236/0.01674, allocations: 223 kB / 390.2 MB, free: 6.152 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01674, allocations: 0 / 390.2 MB, free: 6.152 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002369/0.01698, allocations: 71.84 kB / 390.3 MB, free: 6.082 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 9.066e-05/0.01707, allocations: 103.2 kB / 390.4 MB, free: 5.969 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001962/0.01726, allocations: 115.4 kB / 390.5 MB, free: 5.852 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01727, allocations: 0.5 kB / 390.5 MB, free: 5.852 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.743e-05/0.01732, allocations: 51.55 kB / 390.6 MB, free: 5.797 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000298/0.01762, allocations: 20.64 kB / 390.6 MB, free: 5.777 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/0.01867, allocations: 0.5653 MB / 391.1 MB, free: 5.16 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.448e-05/0.01874, allocations: 91.89 kB / 391.2 MB, free: 5.051 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.657e-05/0.01879, allocations: 13.64 kB / 391.2 MB, free: 5.031 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.53e-05/0.01884, allocations: 20.5 kB / 391.3 MB, free: 5.012 MB / 362.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01884, allocations: 7.938 kB / 391.3 MB, free: 5.004 MB / 362.7 MB Notification: Performance of Templates: time 0.003624/0.02246, allocations: 1.536 MB / 392.8 MB, free: 3.484 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.3557920451276004]