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.001394/0.001394, allocations: 91.22 kB / 20.42 MB, free: 4.145 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.001438/0.001438, allocations: 165.3 kB / 23.8 MB, free: 0.7773 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 0.8674/0.8674, allocations: 158.6 MB / 185.7 MB, free: 2.887 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.1298/0.1298, allocations: 32.38 MB / 270.4 MB, free: 14.69 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.042e-06/1.042e-06, allocations: 0 / 347.6 MB, free: 9.484 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.958e-05/2.062e-05, allocations: 6.25 kB / 347.6 MB, free: 9.477 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sources): time 0.002653/0.002674, allocations: 2.628 MB / 350.3 MB, free: 6.836 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009485/0.003622, allocations: 0.7797 MB / 351.1 MB, free: 6.047 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001149/0.003737, allocations: 7.938 kB / 351.1 MB, free: 6.039 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001573/0.003894, allocations: 63.44 kB / 351.1 MB, free: 5.977 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001495/0.004044, allocations: 107 kB / 351.2 MB, free: 5.871 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001738/0.004218, allocations: 115.8 kB / 351.3 MB, free: 5.758 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002321/0.00445, allocations: 430.3 kB / 351.8 MB, free: 5.336 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001551/0.004605, allocations: 95.78 kB / 351.9 MB, free: 5.238 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002152/0.00482, allocations: 235.5 kB / 352.1 MB, free: 5.008 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001097/0.00493, allocations: 119.7 kB / 352.2 MB, free: 4.891 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.038e-05/0.00497, allocations: 32 kB / 352.2 MB, free: 4.859 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.141e-05/0.005002, allocations: 32 kB / 352.3 MB, free: 4.828 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.109e-05/0.005043, allocations: 87.66 kB / 352.3 MB, free: 4.742 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.776e-05/0.005121, allocations: 119.7 kB / 352.5 MB, free: 4.625 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002187/0.005339, allocations: 263 kB / 352.7 MB, free: 4.367 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.005342, allocations: 7.938 kB / 352.7 MB, free: 4.359 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.005343, allocations: 0 / 352.7 MB, free: 4.359 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.005351, allocations: 0 / 352.7 MB, free: 4.359 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.0006024/0.005953, allocations: 0.6871 MB / 353.4 MB, free: 3.637 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.00599, allocations: 8.031 kB / 353.4 MB, free: 3.629 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.939e-05/0.006059, allocations: 68.7 kB / 353.5 MB, free: 3.562 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002031/0.006262, allocations: 228.8 kB / 353.7 MB, free: 3.309 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.00628, allocations: 25.38 kB / 353.7 MB, free: 3.281 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.776e-05/0.006308, allocations: 36.31 kB / 353.8 MB, free: 3.246 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003212/0.006629, allocations: 311 kB / 354.1 MB, free: 2.918 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.00664, allocations: 0 / 354.1 MB, free: 2.918 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.978e-05/0.006659, allocations: 16 kB / 354.1 MB, free: 2.902 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.00667, allocations: 8 kB / 354.1 MB, free: 2.895 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001754/0.006845, allocations: 130.9 kB / 354.2 MB, free: 2.77 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000928/0.007773, allocations: 1.325 MB / 355.6 MB, free: 1.363 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001892/0.007963, allocations: 172.6 kB / 355.7 MB, free: 1.145 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.639e-05/0.008009, allocations: 58.8 kB / 355.8 MB, free: 1.07 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.00803, allocations: 7.938 kB / 355.8 MB, free: 1.062 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.349e-05/0.008044, allocations: 37.39 kB / 355.8 MB, free: 1.016 MB / 282.7 MB Notification: Performance of pre-optimization done (n=15): time 1.152e-06/0.008045, allocations: 0 / 355.8 MB, free: 1.016 MB / 282.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002349/0.00828, allocations: 145.4 kB / 356 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.33e-05/0.008303, allocations: 128.5 kB / 356.1 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001604/0.008464, allocations: 338.1 kB / 356.4 MB, free: 372 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.945e-06/0.008472, allocations: 25.7 kB / 356.4 MB, free: 340 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.112e-05/0.008543, allocations: 290.8 kB / 356.7 MB, free: 40 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.262e-05/0.008585, allocations: 63.66 kB / 356.8 MB, free: 15.97 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.379e-05/0.008649, allocations: 59.64 kB / 356.9 MB, free: 15.91 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.008803, allocations: 0.5079 MB / 357.4 MB, free: 15.39 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.831e-05/0.008861, allocations: 28.48 kB / 357.4 MB, free: 15.36 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001253/0.008987, allocations: 157 kB / 357.5 MB, free: 15.15 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001777/0.009164, allocations: 208.3 kB / 357.7 MB, free: 14.89 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.009166, allocations: 0 / 357.7 MB, free: 14.89 MB / 298.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002558/0.009422, allocations: 232.9 kB / 358 MB, free: 14.66 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.009435, allocations: 8 kB / 358 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.009442, allocations: 7.938 kB / 358 MB, free: 14.65 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.009458, allocations: 4 kB / 358 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001745/0.009632, allocations: 75.89 kB / 358.1 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.009639, allocations: 4 kB / 358.1 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.985e-05/0.009739, allocations: 39.77 kB / 358.1 MB, free: 14.53 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.009751, allocations: 8.25 kB / 358.1 MB, free: 14.52 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.601e-05/0.009847, allocations: 172.5 kB / 358.3 MB, free: 14.34 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.423e-05/0.009912, allocations: 39.75 kB / 358.3 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.624e-05/0.009948, allocations: 29.77 kB / 358.4 MB, free: 14.27 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.009952, allocations: 4 kB / 358.4 MB, free: 14.27 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.009955, allocations: 0 / 358.4 MB, free: 14.27 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.00996, allocations: 3.984 kB / 358.4 MB, free: 14.27 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004784/0.01044, allocations: 0.5925 MB / 359 MB, free: 13.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.01044, allocations: 4.156 kB / 359 MB, free: 13.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.446e-05/0.01053, allocations: 51.89 kB / 359 MB, free: 13.55 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.626e-06/0.01054, allocations: 4 kB / 359 MB, free: 13.55 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.01054, allocations: 0 / 359 MB, free: 13.55 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.01055, allocations: 4 kB / 359 MB, free: 13.55 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.01055, allocations: 0 / 359 MB, free: 13.55 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002208/0.01077, allocations: 441.2 kB / 359.4 MB, free: 13.07 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.335e-05/0.01079, allocations: 23.81 kB / 359.5 MB, free: 13.05 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.953e-05/0.01081, allocations: 7.984 kB / 359.5 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.54e-05/0.0109, allocations: 12 kB / 359.5 MB, free: 13.03 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.9e-05/0.01095, allocations: 27.84 kB / 359.5 MB, free: 13 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.834e-06/0.01095, allocations: 4 kB / 359.5 MB, free: 13 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001229/0.01108, allocations: 219 kB / 359.7 MB, free: 12.79 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01108, allocations: 0 / 359.7 MB, free: 12.79 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000234/0.01131, allocations: 79.78 kB / 359.8 MB, free: 12.71 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.991e-05/0.01138, allocations: 91.25 kB / 359.9 MB, free: 12.61 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001742/0.01156, allocations: 123.6 kB / 360 MB, free: 12.49 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.022e-06/0.01156, allocations: 0 / 360 MB, free: 12.49 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.388e-05/0.01161, allocations: 51.86 kB / 360.1 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.0002508/0.01186, allocations: 20.98 kB / 360.1 MB, free: 12.41 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005983/0.01246, allocations: 0.5493 MB / 360.6 MB, free: 11.8 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.97e-05/0.01252, allocations: 91.95 kB / 360.7 MB, free: 11.69 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.44e-05/0.01257, allocations: 17.64 kB / 360.7 MB, free: 11.67 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.055e-05/0.01261, allocations: 20.44 kB / 360.8 MB, free: 11.65 MB / 298.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01262, allocations: 0 / 360.8 MB, free: 11.65 MB / 298.7 MB Notification: Performance of Templates: time 0.003577/0.01619, allocations: 1.524 MB / 362.3 MB, free: 10.14 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.1317048189230263]