Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Magnetic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents") translateModel(ModelicaTest.Magnetic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001628/0.001628, allocations: 200.7 kB / 18.1 MB, free: 3.715 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.55/1.55, allocations: 226.5 MB / 245.4 MB, free: 6.516 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008411/0.000841, allocations: 94.7 kB / 297.5 MB, free: 6.668 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3912/0.3912, allocations: 44.82 MB / 394.3 MB, free: 35.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002854/0.0002853, allocations: 8 kB / 467.9 MB, free: 12.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4023/0.4026, allocations: 62.95 MB / 0.5184 GB, free: 37.52 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1276/0.5302, allocations: 87.85 MB / 0.6042 GB, free: 1.457 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002751/0.5306, allocations: 71.94 kB / 0.6043 GB, free: 1.391 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004463/0.535, allocations: 1.75 MB / 0.606 GB, free: 15.63 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.216e-06/0.5351, allocations: 0 / 0.606 GB, free: 15.63 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.273e-06/0.5351, allocations: 0 / 0.606 GB, free: 15.63 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0005343/0.5356, allocations: 407.2 kB / 0.6064 GB, free: 15.18 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.5357, allocations: 19.91 kB / 0.6064 GB, free: 15.16 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.151e-05/0.5357, allocations: 12.75 kB / 0.6064 GB, free: 15.15 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.5359, allocations: 172.3 kB / 0.6066 GB, free: 14.94 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.5359, allocations: 8.375 kB / 0.6066 GB, free: 14.93 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.782e-05/0.5359, allocations: 12.38 kB / 0.6066 GB, free: 14.92 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003108/0.5362, allocations: 137.9 kB / 0.6067 GB, free: 14.78 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.5362, allocations: 4.125 kB / 0.6067 GB, free: 14.78 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.5363, allocations: 7.938 kB / 0.6067 GB, free: 14.77 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.5363, allocations: 7.984 kB / 0.6067 GB, free: 14.76 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003326/0.5366, allocations: 127.9 kB / 0.6068 GB, free: 14.64 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007592/0.5374, allocations: 483.3 kB / 0.6073 GB, free: 14.11 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002393/0.5376, allocations: 94.53 kB / 0.6074 GB, free: 14 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002075/0.5379, allocations: 76.88 kB / 0.6075 GB, free: 13.93 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.136e-05/0.5379, allocations: 0 / 0.6075 GB, free: 13.93 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.132e-05/0.5379, allocations: 34.56 kB / 0.6075 GB, free: 13.88 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.5379, allocations: 0 / 0.6075 GB, free: 13.88 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.00085/0.5388, allocations: 311.4 kB / 0.6078 GB, free: 13.55 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.255e-05/0.5388, allocations: 55.34 kB / 0.6079 GB, free: 13.48 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.5389, allocations: 121.8 kB / 0.608 GB, free: 13.36 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.539, allocations: 25.7 kB / 0.608 GB, free: 13.32 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.973e-05/0.5391, allocations: 108.1 kB / 0.6081 GB, free: 13.21 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.049e-05/0.5391, allocations: 19.66 kB / 0.6081 GB, free: 13.19 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-06/0.5391, allocations: 0 / 0.6081 GB, free: 13.19 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.5392, allocations: 322.8 kB / 0.6084 GB, free: 12.87 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001526/0.5394, allocations: 51.95 kB / 0.6085 GB, free: 12.82 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001621/0.5396, allocations: 65.67 kB / 0.6085 GB, free: 12.75 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003006/0.5399, allocations: 113.6 kB / 0.6086 GB, free: 12.63 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.5399, allocations: 3.938 kB / 0.6087 GB, free: 12.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003933/0.5403, allocations: 162.7 kB / 0.6088 GB, free: 12.46 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.5403, allocations: 8 kB / 0.6088 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.5403, allocations: 0 / 0.6088 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001672/0.5405, allocations: 32.81 kB / 0.6088 GB, free: 12.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.5406, allocations: 23.97 kB / 0.6089 GB, free: 12.39 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001134/0.5418, allocations: 1.316 MB / 0.6102 GB, free: 10.94 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001093/0.5419, allocations: 27.81 kB / 0.6102 GB, free: 10.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.5419, allocations: 0 / 0.6102 GB, free: 10.91 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 4 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.313e-05/0.542, allocations: 117.9 kB / 0.6103 GB, free: 10.79 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.54e-05/0.542, allocations: 8 kB / 0.6103 GB, free: 10.78 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.704e-05/0.5421, allocations: 12.31 kB / 0.6103 GB, free: 10.77 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.5421, allocations: 7.938 kB / 0.6103 GB, free: 10.76 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.5421, allocations: 0 / 0.6103 GB, free: 10.76 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.5421, allocations: 0 / 0.6103 GB, free: 10.76 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006924/0.5428, allocations: 452 kB / 0.6107 GB, free: 10.26 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.5428, allocations: 0 / 0.6107 GB, free: 10.26 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.475e-05/0.5429, allocations: 28 kB / 0.6108 GB, free: 10.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.184e-05/0.543, allocations: 20.86 kB / 0.6108 GB, free: 10.21 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.543, allocations: 4 kB / 0.6108 GB, free: 10.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009005/0.5439, allocations: 1.308 MB / 0.6121 GB, free: 8.766 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.5439, allocations: 3.938 kB / 0.6121 GB, free: 8.762 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004427/0.5444, allocations: 261.1 kB / 0.6123 GB, free: 8.484 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.004e-05/0.5444, allocations: 88.95 kB / 0.6124 GB, free: 8.379 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.126e-05/0.5445, allocations: 7.938 kB / 0.6124 GB, free: 8.371 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/0.5446, allocations: 19.98 kB / 0.6124 GB, free: 8.352 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.202e-05/0.5446, allocations: 7.984 kB / 0.6124 GB, free: 8.344 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.5447, allocations: 0 / 0.6124 GB, free: 8.344 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.344e-05/0.5447, allocations: 99.27 kB / 0.6125 GB, free: 8.246 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5447, allocations: 0 / 0.6125 GB, free: 8.246 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002509/0.545, allocations: 20 kB / 0.6126 GB, free: 8.227 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 3 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001356/0.5451, allocations: 99.19 kB / 0.6127 GB, free: 8.117 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005086/0.5457, allocations: 222.6 kB / 0.6129 GB, free: 7.887 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.5457, allocations: 0 / 0.6129 GB, free: 7.887 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000244/0.5459, allocations: 178.7 kB / 0.613 GB, free: 7.699 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002934/0.5462, allocations: 8 kB / 0.613 GB, free: 7.691 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004291/0.5467, allocations: 254.8 kB / 0.6133 GB, free: 7.414 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000298/0.547, allocations: 0.7004 MB / 0.614 GB, free: 6.688 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.091e-05/0.547, allocations: 8 kB / 0.614 GB, free: 6.68 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.564e-05/0.547, allocations: 7.438 kB / 0.614 GB, free: 6.672 MB / 426.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5471, allocations: 0 / 0.614 GB, free: 6.672 MB / 426.7 MB Notification: Performance of Templates: time 0.003112/0.5502, allocations: 0.9419 MB / 0.6149 GB, free: 5.738 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/VariableComponents/VariableComponents.csv","../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches