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.001115/0.001115, allocations: 88.2 kB / 20.94 MB, free: 3.609 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.001255/0.001255, allocations: 169.3 kB / 24.24 MB, free: 316 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.085/1.085, allocations: 158.6 MB / 186 MB, free: 2.898 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.148/0.148, allocations: 32.37 MB / 270.7 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 1.844e-06/1.844e-06, allocations: 0 / 347.6 MB, free: 9.809 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.645e-05/1.83e-05, allocations: 8.219 kB / 347.6 MB, free: 9.801 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sources): time 0.002186/0.002204, allocations: 2.622 MB / 350.3 MB, free: 7.164 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008167/0.003021, allocations: 0.7797 MB / 351 MB, free: 6.375 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001212/0.003142, allocations: 11.94 kB / 351.1 MB, free: 6.363 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001902/0.003332, allocations: 55.45 kB / 351.1 MB, free: 6.309 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001621/0.003494, allocations: 107 kB / 351.2 MB, free: 6.203 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001858/0.00368, allocations: 115.8 kB / 351.3 MB, free: 6.09 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002199/0.0039, allocations: 430.2 kB / 351.7 MB, free: 5.668 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001478/0.004048, allocations: 99.77 kB / 351.8 MB, free: 5.566 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001898/0.004238, allocations: 231.5 kB / 352.1 MB, free: 5.34 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.552e-05/0.004333, allocations: 119.7 kB / 352.2 MB, free: 5.223 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.579e-05/0.004369, allocations: 32 kB / 352.2 MB, free: 5.191 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.493e-05/0.004394, allocations: 36 kB / 352.3 MB, free: 5.156 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.604e-05/0.00443, allocations: 83.66 kB / 352.3 MB, free: 5.074 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.51e-05/0.004495, allocations: 119.7 kB / 352.5 MB, free: 4.957 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001813/0.004676, allocations: 267 kB / 352.7 MB, free: 4.695 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.004678, allocations: 4 kB / 352.7 MB, free: 4.691 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.42e-07/0.004679, allocations: 0 / 352.7 MB, free: 4.691 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.189e-06/0.004684, allocations: 4 kB / 352.7 MB, free: 4.688 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.0005039/0.005188, allocations: 0.6832 MB / 353.4 MB, free: 3.969 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.984e-05/0.005218, allocations: 8.031 kB / 353.4 MB, free: 3.961 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.467e-05/0.005282, allocations: 72.64 kB / 353.5 MB, free: 3.891 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001686/0.005451, allocations: 228.8 kB / 353.7 MB, free: 3.637 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.005467, allocations: 29.38 kB / 353.7 MB, free: 3.605 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.355e-05/0.00549, allocations: 28.38 kB / 353.8 MB, free: 3.578 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000284/0.005774, allocations: 315 kB / 354.1 MB, free: 3.246 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.005784, allocations: 0 / 354.1 MB, free: 3.246 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.861e-05/0.005802, allocations: 8 kB / 354.1 MB, free: 3.238 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/0.005812, allocations: 12 kB / 354.1 MB, free: 3.227 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001662/0.005978, allocations: 126.9 kB / 354.2 MB, free: 3.105 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008709/0.006849, allocations: 1.325 MB / 355.5 MB, free: 1.699 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001856/0.007034, allocations: 180.5 kB / 355.7 MB, free: 1.473 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.768e-05/0.007082, allocations: 50.86 kB / 355.8 MB, free: 1.406 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.347e-05/0.007106, allocations: 11.94 kB / 355.8 MB, free: 1.395 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.64e-05/0.007122, allocations: 37.39 kB / 355.8 MB, free: 1.348 MB / 282.7 MB Notification: Performance of pre-optimization done (n=15): time 1.223e-06/0.007123, allocations: 0 / 355.8 MB, free: 1.348 MB / 282.7 MB Notification: Performance of matching and sorting (n=15): time 0.000228/0.007351, allocations: 141.4 kB / 356 MB, free: 1.203 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.618e-05/0.007377, allocations: 140.4 kB / 356.1 MB, free: 1.035 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/0.007522, allocations: 330.1 kB / 356.4 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.065e-06/0.00753, allocations: 29.7 kB / 356.4 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.953e-05/0.0076, allocations: 294.8 kB / 356.7 MB, free: 372 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.04e-05/0.00762, allocations: 59.48 kB / 356.8 MB, free: 312 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.634e-05/0.007666, allocations: 59.64 kB / 356.8 MB, free: 244 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.007796, allocations: 0.5079 MB / 357.4 MB, free: 15.72 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.099e-05/0.007847, allocations: 32.48 kB / 357.4 MB, free: 15.69 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000106/0.007953, allocations: 153 kB / 357.5 MB, free: 15.48 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001712/0.008124, allocations: 208.4 kB / 357.7 MB, free: 15.23 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.008126, allocations: 0 / 357.7 MB, free: 15.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002696/0.008395, allocations: 241 kB / 358 MB, free: 14.98 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.008407, allocations: 4 kB / 358 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.932e-06/0.008413, allocations: 4 kB / 358 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.008427, allocations: 4 kB / 358 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001699/0.008597, allocations: 75.89 kB / 358.1 MB, free: 14.9 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.008604, allocations: 4 kB / 358.1 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.892e-05/0.008703, allocations: 39.77 kB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.288e-05/0.008716, allocations: 8.25 kB / 358.1 MB, free: 14.85 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 8.152e-05/0.008797, allocations: 176.5 kB / 358.3 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.759e-05/0.008855, allocations: 39.69 kB / 358.3 MB, free: 14.62 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.91e-05/0.008894, allocations: 29.77 kB / 358.3 MB, free: 14.6 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.008896, allocations: 4 kB / 358.4 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.0089, allocations: 0 / 358.4 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.008904, allocations: 3.984 kB / 358.4 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005078/0.009412, allocations: 0.5925 MB / 358.9 MB, free: 13.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.009413, allocations: 4.156 kB / 359 MB, free: 13.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.199e-05/0.009505, allocations: 43.97 kB / 359 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.009509, allocations: 4 kB / 359 MB, free: 13.88 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/0.009519, allocations: 7.984 kB / 359 MB, free: 13.88 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.009521, allocations: 0 / 359 MB, free: 13.88 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.009524, allocations: 7.938 kB / 359 MB, free: 13.87 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002061/0.00973, allocations: 431.4 kB / 359.4 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.319e-05/0.009753, allocations: 27.81 kB / 359.5 MB, free: 13.38 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.842e-05/0.009772, allocations: 4 kB / 359.5 MB, free: 13.38 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.915e-05/0.009861, allocations: 15.98 kB / 359.5 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.92e-05/0.00991, allocations: 27.84 kB / 359.5 MB, free: 13.33 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.009916, allocations: 4 kB / 359.5 MB, free: 13.33 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000113/0.01003, allocations: 219 kB / 359.7 MB, free: 13.12 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01003, allocations: 0 / 359.7 MB, free: 13.12 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002491/0.01028, allocations: 75.78 kB / 359.8 MB, free: 13.04 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.501e-05/0.01034, allocations: 103.1 kB / 359.9 MB, free: 12.93 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001796/0.01052, allocations: 127.8 kB / 360 MB, free: 12.8 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.01052, allocations: 0 / 360 MB, free: 12.8 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.083e-05/0.01058, allocations: 43.61 kB / 360.1 MB, free: 12.76 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002589/0.01083, allocations: 16.98 kB / 360.1 MB, free: 12.74 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007445/0.01158, allocations: 0.5491 MB / 360.6 MB, free: 12.13 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.782e-05/0.01164, allocations: 91.95 kB / 360.7 MB, free: 12.02 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.864e-05/0.0117, allocations: 17.64 kB / 360.7 MB, free: 12 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.001e-05/0.01174, allocations: 20.5 kB / 360.8 MB, free: 11.98 MB / 298.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01174, allocations: 0 / 360.8 MB, free: 11.98 MB / 298.7 MB Notification: Performance of Templates: time 0.003653/0.01539, allocations: 1.529 MB / 362.3 MB, free: 10.46 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.089775395113975]