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.001968/0.001968, allocations: 87.67 kB / 20.21 MB, free: 4.211 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.002128/0.002128, allocations: 165.2 kB / 23.52 MB, free: 0.8984 MB / 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.566/1.566, allocations: 158.6 MB / 185.3 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 178] 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.2173/0.2173, allocations: 32.38 MB / 270 MB, free: 14.77 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 2.084e-06/2.084e-06, allocations: 0 / 346.9 MB, free: 9.828 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.523e-05/3.731e-05, allocations: 2.312 kB / 346.9 MB, free: 9.824 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sources): time 0.005411/0.005449, allocations: 2.592 MB / 349.5 MB, free: 7.219 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00176/0.007208, allocations: 0.7719 MB / 350.3 MB, free: 6.438 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003123/0.007521, allocations: 4 kB / 350.3 MB, free: 6.434 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000356/0.007877, allocations: 67.36 kB / 350.3 MB, free: 6.367 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005659/0.008443, allocations: 103.1 kB / 350.4 MB, free: 6.266 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004137/0.008856, allocations: 123.8 kB / 350.6 MB, free: 6.145 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005198/0.009376, allocations: 422.3 kB / 351 MB, free: 5.73 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002326/0.009609, allocations: 99.81 kB / 351.1 MB, free: 5.629 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003749/0.009984, allocations: 239.5 kB / 351.3 MB, free: 5.395 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002146/0.0102, allocations: 119.7 kB / 351.4 MB, free: 5.277 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.598e-05/0.01026, allocations: 32 kB / 351.5 MB, free: 5.246 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.988e-05/0.01033, allocations: 32 kB / 351.5 MB, free: 5.215 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.914e-05/0.0104, allocations: 83.67 kB / 351.6 MB, free: 5.133 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001424/0.01055, allocations: 119.7 kB / 351.7 MB, free: 5.016 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004892/0.01103, allocations: 434.5 kB / 352.1 MB, free: 4.59 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.01104, allocations: 0 / 352.1 MB, free: 4.59 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.01104, allocations: 0 / 352.1 MB, free: 4.59 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.01105, allocations: 0 / 352.1 MB, free: 4.59 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.001182/0.01223, allocations: 0.7063 MB / 352.8 MB, free: 3.848 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.01227, allocations: 8.031 kB / 352.8 MB, free: 3.84 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001418/0.01241, allocations: 76.7 kB / 352.9 MB, free: 3.766 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003643/0.01277, allocations: 224.8 kB / 353.1 MB, free: 3.516 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.996e-05/0.0128, allocations: 29.31 kB / 353.1 MB, free: 3.484 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.401e-05/0.01286, allocations: 28.38 kB / 353.2 MB, free: 3.457 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008153/0.01367, allocations: 382.2 kB / 353.5 MB, free: 3.062 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.898e-05/0.0137, allocations: 0 / 353.5 MB, free: 3.062 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.171e-05/0.01374, allocations: 16 kB / 353.6 MB, free: 3.047 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/0.01375, allocations: 8 kB / 353.6 MB, free: 3.039 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000774/0.01453, allocations: 239.8 kB / 353.8 MB, free: 2.805 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002322/0.01685, allocations: 1.419 MB / 355.2 MB, free: 1.305 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006411/0.01749, allocations: 220.5 kB / 355.4 MB, free: 1.039 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002414/0.01773, allocations: 82.84 kB / 355.5 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.646e-05/0.01778, allocations: 7.938 kB / 355.5 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.947e-05/0.0178, allocations: 41.33 kB / 355.6 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of pre-optimization done (n=15): time 1.924e-06/0.0178, allocations: 0 / 355.6 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of matching and sorting (n=15): time 0.0009073/0.01871, allocations: 213.4 kB / 355.8 MB, free: 0.668 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/0.01874, allocations: 132.5 kB / 355.9 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003909/0.01914, allocations: 390.1 kB / 356.3 MB, free: 112 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.01915, allocations: 29.7 kB / 356.3 MB, free: 76 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000352/0.0195, allocations: 298.9 kB / 356.6 MB, free: 15.77 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001206/0.01962, allocations: 67.45 kB / 356.7 MB, free: 15.71 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00019/0.01981, allocations: 67.64 kB / 356.7 MB, free: 15.63 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0004201/0.02023, allocations: 0.5157 MB / 357.3 MB, free: 15.11 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003305/0.02056, allocations: 60.53 kB / 357.3 MB, free: 15.05 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005282/0.02109, allocations: 201 kB / 357.5 MB, free: 14.8 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000852/0.02194, allocations: 275.7 kB / 357.8 MB, free: 14.47 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.02195, allocations: 0 / 357.8 MB, free: 14.47 MB / 298.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0009668/0.02292, allocations: 293.8 kB / 358.1 MB, free: 14.18 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.02294, allocations: 8 kB / 358.1 MB, free: 14.17 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.02295, allocations: 4 kB / 358.1 MB, free: 14.17 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.2e-05/0.02297, allocations: 4.062 kB / 358.1 MB, free: 14.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004622/0.02343, allocations: 87.83 kB / 358.2 MB, free: 14.08 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.554e-05/0.02345, allocations: 7.938 kB / 358.2 MB, free: 14.07 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003033/0.02375, allocations: 35.77 kB / 358.2 MB, free: 14.04 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.461e-05/0.02378, allocations: 12 kB / 358.2 MB, free: 14.02 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 0.0001979/0.02397, allocations: 192.6 kB / 358.4 MB, free: 13.82 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001109/0.02408, allocations: 39.75 kB / 358.5 MB, free: 13.79 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.038e-05/0.02416, allocations: 29.48 kB / 358.5 MB, free: 13.76 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.02416, allocations: 0 / 358.5 MB, free: 13.76 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.02417, allocations: 4 kB / 358.5 MB, free: 13.75 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.02417, allocations: 0 / 358.5 MB, free: 13.75 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009742/0.02515, allocations: 0.6511 MB / 359.1 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.02515, allocations: 0 / 359.1 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002395/0.02539, allocations: 56.05 kB / 359.2 MB, free: 12.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/0.02539, allocations: 4.281 kB / 359.2 MB, free: 12.98 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.02541, allocations: 0 / 359.2 MB, free: 12.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.069e-06/0.02541, allocations: 4 kB / 359.2 MB, free: 12.98 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.02541, allocations: 0 / 359.2 MB, free: 12.98 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005983/0.02601, allocations: 489.2 kB / 359.7 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.624e-05/0.02607, allocations: 31.75 kB / 359.7 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.179e-05/0.0261, allocations: 4 kB / 359.7 MB, free: 12.42 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002074/0.02631, allocations: 15.98 kB / 359.7 MB, free: 12.41 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.256e-05/0.02638, allocations: 23.91 kB / 359.7 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/0.02639, allocations: 4 kB / 359.8 MB, free: 12.38 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004767/0.02687, allocations: 243 kB / 360 MB, free: 12.14 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02687, allocations: 0 / 360 MB, free: 12.14 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004157/0.02728, allocations: 79.78 kB / 360.1 MB, free: 12.07 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 0.0001218/0.0274, allocations: 99.17 kB / 360.2 MB, free: 11.96 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004746/0.02788, allocations: 189.5 kB / 360.4 MB, free: 11.77 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.02788, allocations: 0 / 360.4 MB, free: 11.77 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001801/0.02806, allocations: 75.53 kB / 360.4 MB, free: 11.7 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000409/0.02847, allocations: 25.34 kB / 360.4 MB, free: 11.67 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.02956, allocations: 0.5691 MB / 361 MB, free: 11.04 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001848/0.02974, allocations: 164.5 kB / 361.2 MB, free: 10.86 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.935e-05/0.02984, allocations: 21.62 kB / 361.2 MB, free: 10.84 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.125e-05/0.0299, allocations: 24.44 kB / 361.2 MB, free: 10.81 MB / 298.7 MB Notification: Performance of SimCode: time 4.41e-07/0.0299, allocations: 0 / 361.2 MB, free: 10.81 MB / 298.7 MB Notification: Performance of Templates: time 0.005433/0.03534, allocations: 1.519 MB / 362.7 MB, free: 9.309 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.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: 5.113216930069029]