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.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.0009831/0.0009831, allocations: 80.8 kB / 21.5 MB, free: 2.996 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.001037/0.001037, allocations: 170.3 kB / 24.91 MB, free: 9.195 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.9495/0.9495, allocations: 177.1 MB / 205.3 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] 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.2602/0.2602, allocations: 32.81 MB / 294.6 MB, free: 0.6914 MB / 266.7 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.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 1.904e-06/1.904e-06, allocations: 0 / 323.2 MB, free: 9.574 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.527e-05/1.717e-05, allocations: 2.312 kB / 323.2 MB, free: 9.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.002692/0.00271, allocations: 2.669 MB / 325.9 MB, free: 6.891 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001113/0.003822, allocations: 0.8058 MB / 326.7 MB, free: 6.078 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001166/0.003939, allocations: 4 kB / 326.7 MB, free: 6.074 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001725/0.004111, allocations: 75.36 kB / 326.8 MB, free: 6 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001851/0.004297, allocations: 115 kB / 326.9 MB, free: 5.887 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002047/0.004501, allocations: 111.8 kB / 327 MB, free: 5.777 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003017/0.004803, allocations: 434.3 kB / 327.4 MB, free: 5.352 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001516/0.004955, allocations: 96.5 kB / 327.5 MB, free: 5.25 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002006/0.005155, allocations: 231.5 kB / 327.7 MB, free: 5.023 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001221/0.005277, allocations: 123.7 kB / 327.8 MB, free: 4.902 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.906e-05/0.005316, allocations: 35.94 kB / 327.9 MB, free: 4.867 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.285e-05/0.005349, allocations: 36 kB / 327.9 MB, free: 4.832 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.547e-05/0.005395, allocations: 75.72 kB / 328 MB, free: 4.758 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.746e-05/0.005472, allocations: 123.6 kB / 328.1 MB, free: 4.637 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002191/0.005691, allocations: 278.9 kB / 328.4 MB, free: 4.363 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.724e-06/0.005693, allocations: 0 / 328.4 MB, free: 4.363 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.005693, allocations: 0 / 328.4 MB, free: 4.363 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.005699, allocations: 0 / 328.4 MB, free: 4.363 MB / 298.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.0005413/0.00624, allocations: 0.5752 MB / 329 MB, free: 3.766 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.006272, allocations: 11.98 kB / 329 MB, free: 3.754 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.848e-05/0.00633, allocations: 52.91 kB / 329 MB, free: 3.703 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001871/0.006517, allocations: 196.6 kB / 329.2 MB, free: 3.484 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.006535, allocations: 25.38 kB / 329.2 MB, free: 3.461 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.653e-05/0.006561, allocations: 36.38 kB / 329.3 MB, free: 3.426 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002667/0.006828, allocations: 291.5 kB / 329.6 MB, free: 3.117 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.006838, allocations: 0 / 329.6 MB, free: 3.117 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.904e-05/0.006857, allocations: 12 kB / 329.6 MB, free: 3.105 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.006865, allocations: 12 kB / 329.6 MB, free: 3.094 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001089/0.006974, allocations: 85.47 kB / 329.7 MB, free: 3.016 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009096/0.007884, allocations: 0.9783 MB / 330.6 MB, free: 1.977 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001856/0.00807, allocations: 138.3 kB / 330.8 MB, free: 1.805 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.751e-05/0.008107, allocations: 39.67 kB / 330.8 MB, free: 1.754 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/0.008125, allocations: 4 kB / 330.8 MB, free: 1.75 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/0.008146, allocations: 38.5 kB / 330.9 MB, free: 1.703 MB / 298.7 MB Notification: Performance of pre-optimization done (n=15): time 1.443e-06/0.008147, allocations: 0 / 330.9 MB, free: 1.703 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.0001925/0.00834, allocations: 105.5 kB / 331 MB, free: 1.594 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.825e-05/0.008418, allocations: 136.5 kB / 331.1 MB, free: 1.43 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001448/0.008563, allocations: 270.8 kB / 331.4 MB, free: 1.152 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.008576, allocations: 33.83 kB / 331.4 MB, free: 1.113 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.464e-05/0.00866, allocations: 228.4 kB / 331.6 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.216e-05/0.008692, allocations: 59.52 kB / 331.7 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.552e-05/0.008748, allocations: 57.91 kB / 331.7 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.008891, allocations: 338.8 kB / 332.1 MB, free: 432 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.231e-05/0.008924, allocations: 20.55 kB / 332.1 MB, free: 412 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.894e-05/0.008993, allocations: 112.2 kB / 332.2 MB, free: 260 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001175/0.00911, allocations: 158.9 kB / 332.3 MB, free: 60 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.009113, allocations: 4 kB / 332.3 MB, free: 56 kB / 298.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0001733/0.009286, allocations: 161.3 kB / 332.5 MB, free: 15.89 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.0093, allocations: 11.92 kB / 332.5 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.009306, allocations: 8.25 kB / 332.5 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.009318, allocations: 4 kB / 332.5 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001568/0.009475, allocations: 75.89 kB / 332.6 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.00948, allocations: 4 kB / 332.6 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.896e-05/0.009579, allocations: 39.78 kB / 332.6 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-06/0.009588, allocations: 8.562 kB / 332.7 MB, free: 15.74 MB / 314.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 7.551e-05/0.009664, allocations: 129.7 kB / 332.8 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.778e-05/0.009712, allocations: 15.98 kB / 332.8 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.396e-05/0.009746, allocations: 37.52 kB / 332.8 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.009749, allocations: 8.281 kB / 332.8 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.009751, allocations: 0 / 332.8 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.009756, allocations: 4 kB / 332.8 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003803/0.01014, allocations: 414 kB / 333.2 MB, free: 15.09 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.01014, allocations: 0 / 333.2 MB, free: 15.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.303e-05/0.01022, allocations: 43.97 kB / 333.3 MB, free: 15.05 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.01022, allocations: 4 kB / 333.3 MB, free: 15.05 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.01023, allocations: 8.094 kB / 333.3 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.01023, allocations: 7.938 kB / 333.3 MB, free: 15.03 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.01023, allocations: 0 / 333.3 MB, free: 15.03 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002805/0.01052, allocations: 294.9 kB / 333.6 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.384e-05/0.01054, allocations: 23.84 kB / 333.6 MB, free: 14.69 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/0.01056, allocations: 8 kB / 333.6 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.443e-05/0.01064, allocations: 7.984 kB / 333.6 MB, free: 14.67 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.698e-05/0.01068, allocations: 15.98 kB / 333.7 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.804e-06/0.01069, allocations: 4 kB / 333.7 MB, free: 14.65 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.553e-05/0.01075, allocations: 96.62 kB / 333.8 MB, free: 14.55 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01075, allocations: 4 kB / 333.8 MB, free: 14.55 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002241/0.01097, allocations: 87.67 kB / 333.8 MB, free: 14.46 MB / 314.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 7.49e-05/0.01105, allocations: 84.3 kB / 333.9 MB, free: 14.38 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001367/0.01119, allocations: 100.6 kB / 334 MB, free: 14.27 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.278e-06/0.0112, allocations: 4.75 kB / 334 MB, free: 14.27 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.935e-05/0.01124, allocations: 41.58 kB / 334.1 MB, free: 14.23 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002211/0.01146, allocations: 23.47 kB / 334.1 MB, free: 14.21 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005609/0.01202, allocations: 0.5396 MB / 334.6 MB, free: 13.62 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.716e-05/0.01207, allocations: 95.95 kB / 334.7 MB, free: 13.5 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.74e-05/0.01213, allocations: 13.64 kB / 334.7 MB, free: 13.49 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.241e-05/0.0122, allocations: 71.36 kB / 334.8 MB, free: 13.42 MB / 314.7 MB Notification: Performance of SimCode: time 6.52e-07/0.0122, allocations: 0 / 334.8 MB, free: 13.42 MB / 314.7 MB Notification: Performance of Templates: time 0.003599/0.0158, allocations: 1.515 MB / 336.3 MB, free: 11.92 MB / 314.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 2.9746537781320512]