Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_ModelicaTest.FluxTubes.Sources") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002124/0.002124, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.474/2.474, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001084/0.001083, allocations: 94.36 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2862/0.2862, allocations: 43.49 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.799e-05/1.798e-05, allocations: 0 / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3939/0.3939, allocations: 58.84 MB / 477.1 MB, free: 5.262 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1576/0.5515, allocations: 87.11 MB / 0.551 GB, free: 12.2 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002479/0.5519, allocations: 67.47 kB / 0.551 GB, free: 12.13 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03108/0.5829, allocations: 6.905 MB / 0.5578 GB, free: 5.203 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.583, allocations: 0 / 0.5578 GB, free: 5.203 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.331e-05/0.583, allocations: 8 kB / 0.5578 GB, free: 5.195 MB / 395.1 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.001537/0.5846, allocations: 0.5802 MB / 0.5583 GB, free: 4.566 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.5846, allocations: 8.031 kB / 0.5583 GB, free: 4.559 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001151/0.5848, allocations: 39.53 kB / 0.5584 GB, free: 4.52 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005191/0.5853, allocations: 276.2 kB / 0.5586 GB, free: 4.207 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.5853, allocations: 16 kB / 0.5587 GB, free: 4.191 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.641e-05/0.5854, allocations: 20 kB / 0.5587 GB, free: 4.172 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006276/0.5861, allocations: 189.5 kB / 0.5589 GB, free: 3.988 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006829/0.5868, allocations: 274.3 kB / 0.5591 GB, free: 3.699 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.5868, allocations: 0 / 0.5591 GB, free: 3.699 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.486e-05/0.5868, allocations: 0 / 0.5591 GB, free: 3.699 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.473e-05/0.5869, allocations: 12 kB / 0.5591 GB, free: 3.688 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002774/0.5896, allocations: 1.216 MB / 0.5603 GB, free: 2.398 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004882/0.5902, allocations: 158.5 kB / 0.5605 GB, free: 2.207 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001377/0.5903, allocations: 51.62 kB / 0.5605 GB, free: 2.145 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.568e-05/0.5904, allocations: 11.92 kB / 0.5605 GB, free: 2.133 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/0.5904, allocations: 42.59 kB / 0.5606 GB, free: 2.082 MB / 395.1 MB Notification: Performance of pre-optimization done (n=15): time 2.805e-06/0.5905, allocations: 0 / 0.5606 GB, free: 2.082 MB / 395.1 MB Notification: Performance of matching and sorting (n=15): time 0.0004831/0.5909, allocations: 125.5 kB / 0.5607 GB, free: 1.953 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.804e-05/0.591, allocations: 136.5 kB / 0.5608 GB, free: 1.789 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004078/0.5915, allocations: 230.3 kB / 0.561 GB, free: 1.559 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 4.048e-05/0.5915, allocations: 25.7 kB / 0.5611 GB, free: 1.527 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002185/0.5917, allocations: 302.1 kB / 0.5614 GB, free: 1.23 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.206e-05/0.5918, allocations: 55.2 kB / 0.5614 GB, free: 1.176 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.674e-05/0.5919, allocations: 3.938 kB / 0.5614 GB, free: 1.172 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.592, allocations: 322.8 kB / 0.5617 GB, free: 0.8477 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001715/0.5922, allocations: 52.5 kB / 0.5618 GB, free: 0.793 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002358/0.5924, allocations: 136.7 kB / 0.5619 GB, free: 0.6211 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002183/0.5927, allocations: 71.94 kB / 0.562 GB, free: 0.5508 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.5927, allocations: 0 / 0.562 GB, free: 0.5508 MB / 395.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005898/0.5933, allocations: 205.4 kB / 0.5622 GB, free: 352 kB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/0.5933, allocations: 4 kB / 0.5622 GB, free: 348 kB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.5934, allocations: 4 kB / 0.5622 GB, free: 344 kB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.218e-05/0.5934, allocations: 4 kB / 0.5622 GB, free: 340 kB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006589/0.5941, allocations: 84.14 kB / 0.5623 GB, free: 256 kB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/0.5941, allocations: 11.94 kB / 0.5623 GB, free: 244 kB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004671/0.5946, allocations: 43.8 kB / 0.5623 GB, free: 200 kB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.265e-05/0.5946, allocations: 12 kB / 0.5623 GB, free: 188 kB / 395.1 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 0.0001178/0.5947, allocations: 108.9 kB / 0.5624 GB, free: 72 kB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001325/0.5949, allocations: 31.72 kB / 0.5625 GB, free: 40 kB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.491e-05/0.595, allocations: 25.64 kB / 0.5625 GB, free: 8 kB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.595, allocations: 4 kB / 0.5625 GB, free: 4 kB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.595, allocations: 0 / 0.5625 GB, free: 4 kB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.595, allocations: 0 / 0.5625 GB, free: 4 kB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00111/0.5962, allocations: 0.5452 MB / 0.563 GB, free: 15.4 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.5962, allocations: 0 / 0.563 GB, free: 15.4 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003751/0.5966, allocations: 39.97 kB / 0.5631 GB, free: 15.36 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.749e-06/0.5966, allocations: 4 kB / 0.5631 GB, free: 15.36 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.878e-05/0.5966, allocations: 4 kB / 0.5631 GB, free: 15.35 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.402e-06/0.5966, allocations: 3.953 kB / 0.5631 GB, free: 15.35 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.395e-06/0.5967, allocations: 7.938 kB / 0.5631 GB, free: 15.34 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004902/0.5972, allocations: 409.1 kB / 0.5635 GB, free: 14.87 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001115/0.5973, allocations: 104.8 kB / 0.5636 GB, free: 14.75 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.489e-05/0.5973, allocations: 0 / 0.5636 GB, free: 14.75 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000394/0.5977, allocations: 23.92 kB / 0.5636 GB, free: 14.73 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.976e-05/0.5978, allocations: 19.92 kB / 0.5636 GB, free: 14.71 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.911e-05/0.5979, allocations: 11.94 kB / 0.5636 GB, free: 14.7 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.0002542/0.5981, allocations: 174 kB / 0.5638 GB, free: 14.53 MB / 411.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5981, allocations: 0 / 0.5638 GB, free: 14.53 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0005794/0.5987, allocations: 71.69 kB / 0.5639 GB, free: 14.46 MB / 411.1 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.0001612/0.5989, allocations: 107.2 kB / 0.564 GB, free: 14.34 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0004417/0.5994, allocations: 127.8 kB / 0.5641 GB, free: 14.22 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.5994, allocations: 0 / 0.5641 GB, free: 14.22 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001654/0.5996, allocations: 51.92 kB / 0.5641 GB, free: 14.17 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003714/0.5999, allocations: 16.83 kB / 0.5641 GB, free: 14.15 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/0.601, allocations: 377.5 kB / 0.5645 GB, free: 13.73 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004325/0.6015, allocations: 0.7791 MB / 0.5653 GB, free: 12.93 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000128/0.6016, allocations: 19.44 kB / 0.5653 GB, free: 12.91 MB / 411.1 MB Notification: Performance of SimCode: time 9.11e-07/0.6016, allocations: 0 / 0.5653 GB, free: 12.91 MB / 411.1 MB Notification: Performance of Templates: time 0.007674/0.6093, allocations: 2.916 MB / 0.5681 GB, free: 9.992 MB / 411.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sources.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sources.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sources.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sources.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sources.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sources --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sources.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sources_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Sources/Sources.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sources.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches