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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.FluxTubes.Sources,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,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=2000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001092/0.001092, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.53/1.53, allocations: 205.3 MB / 213.7 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008669/0.0008669, allocations: 86.62 kB / 261.7 MB, free: 1.684 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1909/0.1909, allocations: 43.49 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.605e-05/1.607e-05, allocations: 0 / 418.3 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1064, allocations: 58.85 MB / 477.1 MB, free: 1.656 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3415/0.448, allocations: 87.09 MB / 0.551 GB, free: 7.953 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001544/0.4482, allocations: 67.16 kB / 0.551 GB, free: 7.922 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01453/0.4627, allocations: 6.91 MB / 0.5578 GB, free: 2.43 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.4627, allocations: 0 / 0.5578 GB, free: 2.43 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.777e-06/0.4627, allocations: 4 kB / 0.5578 GB, free: 2.426 MB / 362.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.0007623/0.4635, allocations: 0.5866 MB / 0.5584 GB, free: 1.816 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.4636, allocations: 8.031 kB / 0.5584 GB, free: 1.809 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.314e-05/0.4636, allocations: 47.5 kB / 0.5584 GB, free: 1.762 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002486/0.4639, allocations: 274.8 kB / 0.5587 GB, free: 1.477 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.4639, allocations: 12 kB / 0.5587 GB, free: 1.465 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.206e-05/0.4639, allocations: 20 kB / 0.5587 GB, free: 1.445 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002935/0.4642, allocations: 194.2 kB / 0.5589 GB, free: 1.328 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003397/0.4646, allocations: 271.1 kB / 0.5592 GB, free: 1.105 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.4646, allocations: 0 / 0.5592 GB, free: 1.105 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.343e-05/0.4646, allocations: 3.984 kB / 0.5592 GB, free: 1.102 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.4646, allocations: 8 kB / 0.5592 GB, free: 1.094 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0012/0.4658, allocations: 1.213 MB / 0.5603 GB, free: 0 / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002944/0.4662, allocations: 161.8 kB / 0.5605 GB, free: 15.83 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.001e-05/0.4662, allocations: 55.06 kB / 0.5606 GB, free: 15.78 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.639e-05/0.4663, allocations: 8.031 kB / 0.5606 GB, free: 15.77 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/0.4663, allocations: 41.94 kB / 0.5606 GB, free: 15.72 MB / 378.7 MB Notification: Performance of pre-optimization done (n=15): time 1.212e-06/0.4663, allocations: 0 / 0.5606 GB, free: 15.72 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002792/0.4666, allocations: 128.7 kB / 0.5607 GB, free: 15.61 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.675e-05/0.4667, allocations: 136.5 kB / 0.5609 GB, free: 15.45 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001949/0.4669, allocations: 224.8 kB / 0.5611 GB, free: 15.27 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.4669, allocations: 25.7 kB / 0.5611 GB, free: 15.23 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001265/0.467, allocations: 250.1 kB / 0.5613 GB, free: 15.02 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.44e-05/0.4671, allocations: 58.7 kB / 0.5614 GB, free: 14.97 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.011e-05/0.4671, allocations: 0 / 0.5614 GB, free: 14.97 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.4672, allocations: 334 kB / 0.5617 GB, free: 14.65 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.591e-05/0.4673, allocations: 47.69 kB / 0.5618 GB, free: 14.62 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000158/0.4674, allocations: 143.7 kB / 0.5619 GB, free: 14.46 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001007/0.4676, allocations: 58.92 kB / 0.5619 GB, free: 14.43 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.4676, allocations: 4 kB / 0.562 GB, free: 14.42 MB / 378.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003204/0.4679, allocations: 231 kB / 0.5622 GB, free: 14.23 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.4679, allocations: 4 kB / 0.5622 GB, free: 14.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.4679, allocations: 4 kB / 0.5622 GB, free: 14.22 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.4679, allocations: 4 kB / 0.5622 GB, free: 14.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000313/0.4683, allocations: 83.27 kB / 0.5623 GB, free: 14.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.861e-05/0.4683, allocations: 11.98 kB / 0.5623 GB, free: 14.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002334/0.4685, allocations: 39.62 kB / 0.5623 GB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.15e-05/0.4686, allocations: 12 kB / 0.5623 GB, free: 14.08 MB / 378.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.559e-05/0.4686, allocations: 112.1 kB / 0.5624 GB, free: 13.96 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.231e-05/0.4687, allocations: 23.72 kB / 0.5625 GB, free: 13.94 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.449e-05/0.4688, allocations: 31.45 kB / 0.5625 GB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.4688, allocations: 4 kB / 0.5625 GB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.4688, allocations: 0 / 0.5625 GB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.4688, allocations: 3.984 kB / 0.5625 GB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006168/0.4694, allocations: 0.5253 MB / 0.563 GB, free: 13.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.4695, allocations: 8.031 kB / 0.563 GB, free: 13.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001904/0.4697, allocations: 46.97 kB / 0.5631 GB, free: 13.33 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.4697, allocations: 4 kB / 0.5631 GB, free: 13.33 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.4697, allocations: 7.984 kB / 0.5631 GB, free: 13.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.4697, allocations: 3.953 kB / 0.5631 GB, free: 13.32 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.4697, allocations: 4.188 kB / 0.5631 GB, free: 13.31 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002983/0.47, allocations: 416.3 kB / 0.5635 GB, free: 12.87 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.29e-05/0.4701, allocations: 100.8 kB / 0.5636 GB, free: 12.75 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.151e-05/0.4701, allocations: 3.984 kB / 0.5636 GB, free: 12.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002244/0.4703, allocations: 19.94 kB / 0.5636 GB, free: 12.73 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.741e-05/0.4704, allocations: 18.36 kB / 0.5636 GB, free: 12.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-06/0.4704, allocations: 15.12 kB / 0.5636 GB, free: 12.7 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001294/0.4705, allocations: 177.7 kB / 0.5638 GB, free: 12.56 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4706, allocations: 0 / 0.5638 GB, free: 12.56 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003508/0.4709, allocations: 71.69 kB / 0.5639 GB, free: 12.49 MB / 378.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001117/0.471, allocations: 95.25 kB / 0.564 GB, free: 12.39 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000224/0.4713, allocations: 138.7 kB / 0.5641 GB, free: 12.29 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.4713, allocations: 0 / 0.5641 GB, free: 12.29 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.294e-05/0.4714, allocations: 47 kB / 0.5641 GB, free: 12.26 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002525/0.4716, allocations: 18.95 kB / 0.5641 GB, free: 12.25 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005765/0.4722, allocations: 348.7 kB / 0.5645 GB, free: 11.89 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002932/0.4725, allocations: 0.7791 MB / 0.5652 GB, free: 11.09 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001075/0.4726, allocations: 22.08 kB / 0.5653 GB, free: 11.07 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.02e-05/0.4727, allocations: 19.42 kB / 0.5653 GB, free: 11.05 MB / 378.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4727, allocations: 0 / 0.5653 GB, free: 11.05 MB / 378.7 MB Notification: Performance of Templates: time 0.003976/0.4767, allocations: 1.357 MB / 0.5666 GB, free: 9.707 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.pipe 2>&1) 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","../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches