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.001185/0.001185, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001765/0.002949, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.001091/0.001091, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001351/0.002442, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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 0.9981/0.9981, allocations: 158.6 MB / 171 MB, free: 2.184 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1734/1.172, allocations: 49.5 MB / 220.5 MB, free: 5.273 MB / 218.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.1274/0.1274, allocations: 32.34 MB / 253.6 MB, free: 4.164 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02156/0.1489, allocations: 12.3 MB / 265.9 MB, free: 7.828 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 8.91e-07/8.91e-07, allocations: 0 / 267.2 MB, free: 6.562 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.395e-05/1.484e-05, allocations: 6.25 kB / 267.2 MB, free: 6.555 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sources): time 0.002863/0.002878, allocations: 2.658 MB / 269.9 MB, free: 3.871 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001308/0.004186, allocations: 0.8107 MB / 270.7 MB, free: 3.051 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001404/0.004326, allocations: 7.938 kB / 270.7 MB, free: 3.043 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001353/0.004461, allocations: 63.44 kB / 270.7 MB, free: 2.98 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001671/0.004628, allocations: 111 kB / 270.8 MB, free: 2.871 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002037/0.004832, allocations: 111.7 kB / 270.9 MB, free: 2.762 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003289/0.005161, allocations: 426.3 kB / 271.4 MB, free: 2.344 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001948/0.005356, allocations: 108.5 kB / 271.5 MB, free: 2.234 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003232/0.005679, allocations: 260.1 kB / 271.7 MB, free: 1.98 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000144/0.005823, allocations: 123.6 kB / 271.8 MB, free: 1.859 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.497e-05/0.005868, allocations: 32 kB / 271.9 MB, free: 1.828 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.457e-05/0.005903, allocations: 36 kB / 271.9 MB, free: 1.793 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.521e-05/0.005948, allocations: 55.81 kB / 272 MB, free: 1.738 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.817e-05/0.006036, allocations: 99.75 kB / 272.1 MB, free: 1.641 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000244/0.00628, allocations: 243 kB / 272.3 MB, free: 1.402 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.453e-05/0.006294, allocations: 0 / 272.3 MB, free: 1.402 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.006295, allocations: 4 kB / 272.3 MB, free: 1.398 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.471e-05/0.00631, allocations: 0 / 272.3 MB, free: 1.398 MB / 266.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.000711/0.007021, allocations: 0.6362 MB / 272.9 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.007056, allocations: 11.97 kB / 273 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.423e-05/0.00712, allocations: 52.91 kB / 273 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002169/0.007337, allocations: 194.3 kB / 273.2 MB, free: 472 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.007356, allocations: 25.38 kB / 273.2 MB, free: 448 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.618e-05/0.007383, allocations: 32.38 kB / 273.3 MB, free: 416 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006497/0.008032, allocations: 291.6 kB / 273.5 MB, free: 104 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.008045, allocations: 4 kB / 273.5 MB, free: 100 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.822e-05/0.008064, allocations: 8 kB / 273.5 MB, free: 92 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.008074, allocations: 8 kB / 273.6 MB, free: 84 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001313/0.008205, allocations: 87.89 kB / 273.6 MB, free: 15.99 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001113/0.009318, allocations: 0.9742 MB / 274.6 MB, free: 14.96 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002069/0.009525, allocations: 138.3 kB / 274.8 MB, free: 14.79 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.74e-05/0.009562, allocations: 39.62 kB / 274.8 MB, free: 14.74 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.538e-05/0.009587, allocations: 4 kB / 274.8 MB, free: 14.73 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.009608, allocations: 38.55 kB / 274.8 MB, free: 14.69 MB / 282.7 MB Notification: Performance of pre-optimization done (n=15): time 1.353e-06/0.009609, allocations: 0 / 274.8 MB, free: 14.69 MB / 282.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002019/0.009811, allocations: 109.9 kB / 274.9 MB, free: 14.57 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.778e-05/0.009879, allocations: 136.5 kB / 275.1 MB, free: 14.41 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001766/0.01006, allocations: 267 kB / 275.3 MB, free: 14.14 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.01007, allocations: 29.7 kB / 275.4 MB, free: 14.11 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.01017, allocations: 224.5 kB / 275.6 MB, free: 13.88 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.582e-05/0.01021, allocations: 67.41 kB / 275.6 MB, free: 13.82 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.894e-05/0.01027, allocations: 53.95 kB / 275.7 MB, free: 13.76 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.459e-05/0.01035, allocations: 334.8 kB / 276 MB, free: 13.42 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.276e-05/0.01038, allocations: 20.55 kB / 276 MB, free: 13.4 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.217e-05/0.01047, allocations: 116.2 kB / 276.2 MB, free: 13.25 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001288/0.0106, allocations: 167.1 kB / 276.3 MB, free: 13.05 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.624e-06/0.0106, allocations: 0 / 276.3 MB, free: 13.05 MB / 282.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0001756/0.01077, allocations: 169.3 kB / 276.5 MB, free: 12.88 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.01079, allocations: 11.94 kB / 276.5 MB, free: 12.86 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.0108, allocations: 4 kB / 276.5 MB, free: 12.86 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.01081, allocations: 4 kB / 276.5 MB, free: 12.86 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002268/0.01103, allocations: 87.88 kB / 276.6 MB, free: 12.77 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.01104, allocations: 4 kB / 276.6 MB, free: 12.77 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001067/0.01115, allocations: 43.72 kB / 276.6 MB, free: 12.72 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/0.01116, allocations: 4.219 kB / 276.6 MB, free: 12.72 MB / 282.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 8.31e-05/0.01124, allocations: 129.8 kB / 276.8 MB, free: 12.58 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.868e-05/0.01129, allocations: 15.98 kB / 276.8 MB, free: 12.57 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.063e-05/0.01133, allocations: 37.42 kB / 276.8 MB, free: 12.53 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.615e-06/0.01134, allocations: 288 / 276.8 MB, free: 12.53 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.01135, allocations: 4 kB / 276.8 MB, free: 12.53 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.01135, allocations: 0 / 276.8 MB, free: 12.53 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004039/0.01176, allocations: 410 kB / 277.2 MB, free: 12.09 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.01176, allocations: 4.094 kB / 277.2 MB, free: 12.08 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001/0.01186, allocations: 55.91 kB / 277.3 MB, free: 12.03 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.26e-05/0.01188, allocations: 19.86 kB / 277.3 MB, free: 12.01 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.01189, allocations: 4 kB / 277.3 MB, free: 12 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.01189, allocations: 0 / 277.3 MB, free: 12 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.0119, allocations: 4 kB / 277.3 MB, free: 12 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.0119, allocations: 3.938 kB / 277.3 MB, free: 12 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001589/0.01206, allocations: 299 kB / 277.6 MB, free: 11.67 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/0.01208, allocations: 12.06 kB / 277.6 MB, free: 11.66 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.521e-05/0.01216, allocations: 11.98 kB / 277.6 MB, free: 11.65 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.19e-05/0.0122, allocations: 19.92 kB / 277.7 MB, free: 11.63 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.01221, allocations: 7.984 kB / 277.7 MB, free: 11.62 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.198e-05/0.01227, allocations: 92.64 kB / 277.8 MB, free: 11.53 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01227, allocations: 0 / 277.8 MB, free: 11.53 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002346/0.01251, allocations: 83.67 kB / 277.8 MB, free: 11.45 MB / 282.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.112e-05/0.01258, allocations: 80.41 kB / 277.9 MB, free: 11.36 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001397/0.01272, allocations: 101.3 kB / 278 MB, free: 11.25 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.008e-05/0.01273, allocations: 8 kB / 278 MB, free: 11.25 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.088e-05/0.01277, allocations: 44.7 kB / 278.1 MB, free: 11.2 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002371/0.01301, allocations: 33.14 kB / 278.1 MB, free: 11.16 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0012/0.01421, allocations: 0.5542 MB / 278.6 MB, free: 10.57 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.579e-05/0.01427, allocations: 91.95 kB / 278.7 MB, free: 10.46 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.376e-05/0.01434, allocations: 17.64 kB / 278.8 MB, free: 10.44 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.281e-05/0.01441, allocations: 71.38 kB / 278.8 MB, free: 10.37 MB / 282.7 MB Notification: Performance of SimCode: time 9.72e-07/0.01441, allocations: 0 / 278.8 MB, free: 10.37 MB / 282.7 MB Notification: Performance of Templates: time 0.004209/0.01862, allocations: 1.546 MB / 280.4 MB, free: 8.816 MB / 282.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 -ignoreHideResult -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: 2.7526585767045617]