Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.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.001258/0.001258, allocations: 81.08 kB / 20.65 MB, free: 3.84 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.001299/0.001299, allocations: 173.4 kB / 24.05 MB, free: 456 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.013/1.013, allocations: 158.6 MB / 186 MB, free: 2.789 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1538/0.1538, allocations: 32.37 MB / 270.7 MB, free: 14.54 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.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_3.2.3_ModelicaTest.FluxTubes.Sources") translateModel(ModelicaTest.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_3.2.3_ModelicaTest.FluxTubes.Sources") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 348.1 MB, free: 9.211 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.045e-05/2.216e-05, allocations: 2.312 kB / 348.1 MB, free: 9.207 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sources): time 0.002698/0.00272, allocations: 2.613 MB / 350.7 MB, free: 6.582 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001133/0.003854, allocations: 0.768 MB / 351.5 MB, free: 5.805 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001549/0.004009, allocations: 7.938 kB / 351.5 MB, free: 5.797 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001759/0.004185, allocations: 63.38 kB / 351.5 MB, free: 5.734 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001706/0.004355, allocations: 111.1 kB / 351.7 MB, free: 5.625 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002144/0.00457, allocations: 111.8 kB / 351.8 MB, free: 5.516 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002609/0.00483, allocations: 426.3 kB / 352.2 MB, free: 5.098 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001523/0.004983, allocations: 99.77 kB / 352.3 MB, free: 4.996 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002689/0.005252, allocations: 235.5 kB / 352.5 MB, free: 4.766 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.801e-05/0.00535, allocations: 123.6 kB / 352.6 MB, free: 4.645 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.505e-05/0.005385, allocations: 36 kB / 352.7 MB, free: 4.609 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.163e-05/0.005416, allocations: 32 kB / 352.7 MB, free: 4.578 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.116e-05/0.005457, allocations: 87.66 kB / 352.8 MB, free: 4.492 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.772e-05/0.005525, allocations: 115.7 kB / 352.9 MB, free: 4.379 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002183/0.005743, allocations: 267 kB / 353.2 MB, free: 4.117 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.005746, allocations: 0 / 353.2 MB, free: 4.117 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.005747, allocations: 0 / 353.2 MB, free: 4.117 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.005753, allocations: 0 / 353.2 MB, free: 4.117 MB / 282.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.0005207/0.006273, allocations: 0.6947 MB / 353.8 MB, free: 3.387 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.825e-05/0.006302, allocations: 12.03 kB / 353.9 MB, free: 3.375 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.686e-05/0.006358, allocations: 68.7 kB / 353.9 MB, free: 3.309 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001621/0.006521, allocations: 220.9 kB / 354.1 MB, free: 3.062 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.006538, allocations: 21.38 kB / 354.2 MB, free: 3.039 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.523e-05/0.006563, allocations: 32.38 kB / 354.2 MB, free: 3.008 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002638/0.006827, allocations: 302.9 kB / 354.5 MB, free: 2.688 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.006837, allocations: 0 / 354.5 MB, free: 2.688 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.744e-05/0.006855, allocations: 16 kB / 354.5 MB, free: 2.672 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.006862, allocations: 11.94 kB / 354.5 MB, free: 2.66 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001101/0.006973, allocations: 95 kB / 354.6 MB, free: 2.57 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008042/0.007777, allocations: 1.279 MB / 355.9 MB, free: 1.219 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001736/0.00795, allocations: 176.4 kB / 356.1 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.546e-05/0.007986, allocations: 46.86 kB / 356.1 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.008005, allocations: 4 kB / 356.1 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.906e-05/0.008024, allocations: 45.33 kB / 356.2 MB, free: 0.875 MB / 282.7 MB Notification: Performance of pre-optimization done (n=15): time 1.643e-06/0.008025, allocations: 0 / 356.2 MB, free: 0.875 MB / 282.7 MB Notification: Performance of matching and sorting (n=15): time 0.0001935/0.008219, allocations: 129.6 kB / 356.3 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.75e-05/0.008246, allocations: 140.4 kB / 356.4 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.008378, allocations: 330 kB / 356.7 MB, free: 240 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.304e-06/0.008385, allocations: 33.83 kB / 356.8 MB, free: 200 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.008501, allocations: 290.9 kB / 357.1 MB, free: 15.9 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.536e-05/0.008536, allocations: 63.47 kB / 357.1 MB, free: 15.84 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.008e-05/0.008596, allocations: 55.62 kB / 357.2 MB, free: 15.77 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.008762, allocations: 0.5118 MB / 357.7 MB, free: 15.25 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.937e-05/0.008811, allocations: 24.53 kB / 357.7 MB, free: 15.23 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000112/0.008923, allocations: 145 kB / 357.8 MB, free: 15.03 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001516/0.009075, allocations: 195.7 kB / 358 MB, free: 14.79 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.009077, allocations: 0 / 358 MB, free: 14.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002107/0.009288, allocations: 209.3 kB / 358.2 MB, free: 14.57 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.0093, allocations: 11.94 kB / 358.3 MB, free: 14.56 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.009306, allocations: 4.25 kB / 358.3 MB, free: 14.56 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.009319, allocations: 8 kB / 358.3 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000166/0.009485, allocations: 79.89 kB / 358.3 MB, free: 14.47 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.009491, allocations: 4 kB / 358.4 MB, free: 14.47 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.009592, allocations: 35.77 kB / 358.4 MB, free: 14.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.009604, allocations: 12 kB / 358.4 MB, free: 14.42 MB / 298.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 9.278e-05/0.009697, allocations: 172.4 kB / 358.6 MB, free: 14.24 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.722e-05/0.009754, allocations: 39.75 kB / 358.6 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.962e-05/0.009794, allocations: 29.48 kB / 358.6 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.009796, allocations: 4 kB / 358.6 MB, free: 14.17 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.009801, allocations: 4 kB / 358.6 MB, free: 14.17 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.009805, allocations: 0 / 358.6 MB, free: 14.17 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004723/0.01028, allocations: 0.5384 MB / 359.2 MB, free: 13.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.01028, allocations: 4 kB / 359.2 MB, free: 13.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.434e-05/0.01036, allocations: 39.97 kB / 359.2 MB, free: 13.53 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.01037, allocations: 4.359 kB / 359.2 MB, free: 13.53 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/0.01038, allocations: 16.09 kB / 359.2 MB, free: 13.51 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.01038, allocations: 11.94 kB / 359.3 MB, free: 13.5 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.01039, allocations: 0 / 359.3 MB, free: 13.5 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002288/0.01061, allocations: 429.3 kB / 359.7 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.269e-05/0.01064, allocations: 27.75 kB / 359.7 MB, free: 13.01 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.662e-05/0.01065, allocations: 0 / 359.7 MB, free: 13.01 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.485e-05/0.01074, allocations: 15.98 kB / 359.7 MB, free: 13 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.312e-05/0.01078, allocations: 15.97 kB / 359.7 MB, free: 12.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.01079, allocations: 4 kB / 359.7 MB, free: 12.98 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001228/0.01091, allocations: 214.9 kB / 359.9 MB, free: 12.77 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01091, allocations: 4 kB / 359.9 MB, free: 12.77 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002511/0.01116, allocations: 75.78 kB / 360 MB, free: 12.69 MB / 298.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.967e-05/0.01123, allocations: 99.19 kB / 360.1 MB, free: 12.59 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001919/0.01142, allocations: 107.4 kB / 360.2 MB, free: 12.48 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.01142, allocations: 0 / 360.2 MB, free: 12.48 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.576e-05/0.01147, allocations: 44.34 kB / 360.3 MB, free: 12.43 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002499/0.01172, allocations: 21.05 kB / 360.3 MB, free: 12.41 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006078/0.01233, allocations: 0.5447 MB / 360.8 MB, free: 11.8 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.454e-05/0.01239, allocations: 95.89 kB / 360.9 MB, free: 11.69 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.075e-05/0.01245, allocations: 17.86 kB / 360.9 MB, free: 11.67 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.212e-05/0.01254, allocations: 90.2 kB / 361 MB, free: 11.58 MB / 298.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01254, allocations: 0 / 361 MB, free: 11.58 MB / 298.7 MB Notification: Performance of Templates: time 0.003724/0.01626, allocations: 1.637 MB / 362.7 MB, free: 9.949 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.sim & ./ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/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.0901467208750546]