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.001078/0.001078, allocations: 80.05 kB / 20.72 MB, free: 3.766 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.001165/0.001165, allocations: 169.3 kB / 24.14 MB, free: 356 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 0.9761/0.9761, allocations: 158.6 MB / 186 MB, free: 2.762 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.1368/0.1368, allocations: 32.38 MB / 270.7 MB, free: 14.6 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.663e-06/1.663e-06, allocations: 0 / 299.1 MB, free: 2.191 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.156e-05/2.322e-05, allocations: 2.312 kB / 299.1 MB, free: 2.188 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sources): time 0.1383/0.1383, allocations: 2.643 MB / 301.7 MB, free: 19.25 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00157/0.1399, allocations: 0.7994 MB / 302.5 MB, free: 19.14 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001782/0.14, allocations: 5.75 kB / 302.5 MB, free: 19.14 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00021/0.1403, allocations: 71.67 kB / 302.6 MB, free: 19.11 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002336/0.1405, allocations: 108.1 kB / 302.7 MB, free: 19.05 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002999/0.1408, allocations: 111.5 kB / 302.8 MB, free: 19.04 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004051/0.1412, allocations: 423.2 kB / 303.2 MB, free: 18.95 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001862/0.1414, allocations: 111.4 kB / 303.3 MB, free: 18.91 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003682/0.1417, allocations: 235.1 kB / 303.6 MB, free: 18.83 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001695/0.1419, allocations: 120.2 kB / 303.7 MB, free: 18.79 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.81e-05/0.142, allocations: 32.75 kB / 303.7 MB, free: 18.79 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.581e-05/0.142, allocations: 33.34 kB / 303.7 MB, free: 18.79 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.895e-05/0.1421, allocations: 80.62 kB / 303.8 MB, free: 18.74 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.1422, allocations: 126.8 kB / 303.9 MB, free: 18.68 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000292/0.1425, allocations: 269 kB / 304.2 MB, free: 18.54 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.1425, allocations: 0 / 304.2 MB, free: 18.54 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1425, allocations: 1.688 kB / 304.2 MB, free: 18.54 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.1425, allocations: 0 / 304.2 MB, free: 18.54 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.0006348/0.1431, allocations: 0.5641 MB / 304.8 MB, free: 18.13 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.1431, allocations: 9.969 kB / 304.8 MB, free: 18.13 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.497e-05/0.1432, allocations: 55.28 kB / 304.8 MB, free: 18.12 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002176/0.1434, allocations: 194.4 kB / 305 MB, free: 17.94 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/0.1435, allocations: 27.56 kB / 305.1 MB, free: 17.93 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.793e-05/0.1435, allocations: 33.62 kB / 305.1 MB, free: 17.91 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003355/0.1438, allocations: 289 kB / 305.4 MB, free: 17.77 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.1438, allocations: 3.625 kB / 305.4 MB, free: 17.77 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.791e-05/0.1439, allocations: 12.14 kB / 305.4 MB, free: 17.77 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/0.1439, allocations: 8.25 kB / 305.4 MB, free: 17.77 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001438/0.144, allocations: 89.08 kB / 305.5 MB, free: 17.76 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009876/0.145, allocations: 0.9768 MB / 306.5 MB, free: 17.02 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002034/0.1452, allocations: 132.1 kB / 306.6 MB, free: 16.91 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.131e-05/0.1452, allocations: 36.75 kB / 306.6 MB, free: 16.88 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.657e-05/0.1453, allocations: 4.891 kB / 306.6 MB, free: 16.88 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.1453, allocations: 42.7 kB / 306.7 MB, free: 16.83 MB / 282.7 MB Notification: Performance of pre-optimization done (n=15): time 2.575e-06/0.1453, allocations: 0 / 306.7 MB, free: 16.83 MB / 282.7 MB Notification: Performance of matching and sorting (n=15): time 0.000254/0.1455, allocations: 105 kB / 306.8 MB, free: 16.79 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.085e-05/0.1456, allocations: 135.9 kB / 306.9 MB, free: 16.62 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001878/0.1458, allocations: 266.6 kB / 307.2 MB, free: 16.46 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.088e-05/0.1458, allocations: 30.73 kB / 307.2 MB, free: 16.43 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.739e-05/0.1459, allocations: 226 kB / 307.4 MB, free: 16.24 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.351e-05/0.1459, allocations: 63.36 kB / 307.5 MB, free: 16.19 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.581e-05/0.146, allocations: 53.44 kB / 307.5 MB, free: 16.15 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.729e-05/0.146, allocations: 340.9 kB / 307.9 MB, free: 15.82 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.306e-05/0.1461, allocations: 22.2 kB / 307.9 MB, free: 15.82 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.356e-05/0.1462, allocations: 109.9 kB / 308 MB, free: 15.71 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001627/0.1463, allocations: 162.1 kB / 308.2 MB, free: 15.59 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1463, allocations: 0 / 308.2 MB, free: 15.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002223/0.1465, allocations: 170.8 kB / 308.3 MB, free: 15.52 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.1466, allocations: 10.94 kB / 308.3 MB, free: 15.52 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.1466, allocations: 2.344 kB / 308.3 MB, free: 15.52 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.1466, allocations: 5.938 kB / 308.3 MB, free: 15.52 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002476/0.1468, allocations: 86.27 kB / 308.4 MB, free: 15.51 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.1468, allocations: 7.109 kB / 308.4 MB, free: 15.51 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001159/0.147, allocations: 37.2 kB / 308.5 MB, free: 15.48 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.147, allocations: 9.312 kB / 308.5 MB, free: 15.48 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 6.713e-05/0.147, allocations: 127.2 kB / 308.6 MB, free: 15.36 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.142e-05/0.1471, allocations: 21 kB / 308.6 MB, free: 15.35 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.7e-05/0.1471, allocations: 33.14 kB / 308.7 MB, free: 15.33 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.1471, allocations: 2.469 kB / 308.7 MB, free: 15.33 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1472, allocations: 8.188 kB / 308.7 MB, free: 15.33 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.1472, allocations: 2.297 kB / 308.7 MB, free: 15.33 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003898/0.1475, allocations: 401 kB / 309.1 MB, free: 14.99 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.1475, allocations: 2.531 kB / 309.1 MB, free: 14.99 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001127/0.1477, allocations: 49.12 kB / 309.1 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.616e-06/0.1477, allocations: 3.125 kB / 309.1 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.1477, allocations: 2.906 kB / 309.1 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/0.1477, allocations: 11.92 kB / 309.1 MB, free: 14.97 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.1477, allocations: 1.609 kB / 309.1 MB, free: 14.97 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001491/0.1478, allocations: 293.8 kB / 309.4 MB, free: 14.71 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.553e-05/0.1479, allocations: 29.03 kB / 309.4 MB, free: 14.7 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.89e-05/0.1479, allocations: 6.719 kB / 309.4 MB, free: 14.69 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.285e-05/0.148, allocations: 8.984 kB / 309.5 MB, free: 14.69 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.763e-05/0.148, allocations: 17.14 kB / 309.5 MB, free: 14.69 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-06/0.148, allocations: 6.969 kB / 309.5 MB, free: 14.68 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001007/0.1481, allocations: 92.42 kB / 309.6 MB, free: 14.65 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1481, allocations: 0 / 309.6 MB, free: 14.65 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002739/0.1484, allocations: 79.88 kB / 309.6 MB, free: 14.63 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.513e-05/0.1485, allocations: 85.27 kB / 309.7 MB, free: 14.55 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001705/0.1486, allocations: 104.4 kB / 309.8 MB, free: 14.52 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.052e-05/0.1487, allocations: 7.562 kB / 309.8 MB, free: 14.51 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.497e-05/0.1487, allocations: 36.03 kB / 309.9 MB, free: 14.5 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002473/0.1489, allocations: 32.88 kB / 309.9 MB, free: 14.48 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006331/0.1496, allocations: 0.5299 MB / 310.4 MB, free: 14.1 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.936e-05/0.1497, allocations: 88.48 kB / 310.5 MB, free: 14.03 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001035/0.1498, allocations: 22.33 kB / 310.5 MB, free: 14.03 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.591e-05/0.1499, allocations: 69.42 kB / 310.6 MB, free: 13.98 MB / 282.7 MB Notification: Performance of SimCode: time 7.51e-07/0.1499, allocations: 1.094 kB / 310.6 MB, free: 13.98 MB / 282.7 MB Notification: Performance of Templates: time 0.004706/0.1546, allocations: 1.505 MB / 312.1 MB, free: 13.79 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 -s gbode -gbm=radauIIA3 -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.0270581301301718]