Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_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_cpp_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_cpp_ModelicaTest.Magnetic.FluxTubes.VariableComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001761/0.001761, allocations: 200 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.294/1.294, allocations: 226.5 MB / 243.4 MB, free: 6.461 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007463/0.0007462, allocations: 92.09 kB / 295.5 MB, free: 6.676 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.299/0.299, allocations: 44.82 MB / 392.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002828/0.0002828, allocations: 8 kB / 465.3 MB, free: 12.67 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3233/0.3236, allocations: 62.96 MB / 0.5159 GB, free: 37.26 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.001541/0.3252, allocations: 1.411 MB / 0.5172 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001395/0.3254, allocations: 92.11 kB / 0.5173 GB, free: 36.17 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.415e-05/0.3254, allocations: 0 / 0.5173 GB, free: 36.17 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 3.068e-05/0.3255, allocations: 13.81 kB / 0.5173 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 6.334e-05/0.3255, allocations: 17.86 kB / 0.5174 GB, free: 36.15 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.99e-05/0.3256, allocations: 17.95 kB / 0.5174 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001098/0.3258, allocations: 98.67 kB / 0.5175 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001517/0.3259, allocations: 49.23 kB / 0.5175 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.737e-05/0.326, allocations: 37.69 kB / 0.5176 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.306e-05/0.326, allocations: 43 kB / 0.5176 GB, free: 36.03 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.352e-05/0.3261, allocations: 5.906 kB / 0.5176 GB, free: 36.03 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.474e-05/0.3261, allocations: 5.844 kB / 0.5176 GB, free: 36.03 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.881e-05/0.3261, allocations: 14.09 kB / 0.5176 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.186e-05/0.3262, allocations: 64.44 kB / 0.5177 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 8.573e-05/0.3263, allocations: 92.39 kB / 0.5178 GB, free: 35.94 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.3263, allocations: 0 / 0.5178 GB, free: 35.94 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3263, allocations: 0 / 0.5178 GB, free: 35.94 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.91e-06/0.3263, allocations: 4 kB / 0.5178 GB, free: 35.94 MB / 378.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.0004737/0.3268, allocations: 411.4 kB / 0.5182 GB, free: 35.55 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.3268, allocations: 11.69 kB / 0.5182 GB, free: 35.55 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.238e-05/0.3269, allocations: 15.72 kB / 0.5182 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.008e-05/0.327, allocations: 178 kB / 0.5184 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.327, allocations: 3.219 kB / 0.5184 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.965e-05/0.327, allocations: 10.34 kB / 0.5184 GB, free: 35.33 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003004/0.3273, allocations: 133.8 kB / 0.5185 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.3273, allocations: 4.188 kB / 0.5185 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.3273, allocations: 7.938 kB / 0.5185 GB, free: 35.26 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.3274, allocations: 3.094 kB / 0.5185 GB, free: 35.26 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003175/0.3277, allocations: 130 kB / 0.5186 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006177/0.3283, allocations: 485.5 kB / 0.5191 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002191/0.3285, allocations: 94.69 kB / 0.5192 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001939/0.3287, allocations: 73.03 kB / 0.5193 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.579e-05/0.3288, allocations: 0 / 0.5193 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.73e-05/0.3288, allocations: 40.94 kB / 0.5193 GB, free: 34.73 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.3288, allocations: 0 / 0.5193 GB, free: 34.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.0007238/0.3295, allocations: 298.7 kB / 0.5196 GB, free: 34.56 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.221e-05/0.3296, allocations: 55.41 kB / 0.5196 GB, free: 34.49 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.941e-05/0.3296, allocations: 118.8 kB / 0.5198 GB, free: 34.39 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.026e-05/0.3297, allocations: 28.73 kB / 0.5198 GB, free: 34.36 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.878e-05/0.3297, allocations: 106.2 kB / 0.5199 GB, free: 34.25 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.578e-05/0.3297, allocations: 25.95 kB / 0.5199 GB, free: 34.23 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.99e-06/0.3297, allocations: 0 / 0.5199 GB, free: 34.23 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.025e-05/0.3298, allocations: 321.1 kB / 0.5202 GB, free: 33.91 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001419/0.3299, allocations: 46.23 kB / 0.5203 GB, free: 33.91 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001476/0.3301, allocations: 72.27 kB / 0.5203 GB, free: 33.87 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002972/0.3304, allocations: 124 kB / 0.5204 GB, free: 33.82 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3304, allocations: 3.938 kB / 0.5205 GB, free: 33.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000358/0.3308, allocations: 166 kB / 0.5206 GB, free: 33.75 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.3308, allocations: 5.688 kB / 0.5206 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.3308, allocations: 0 / 0.5206 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001429/0.3309, allocations: 27.27 kB / 0.5206 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.3311, allocations: 28.16 kB / 0.5207 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000674/0.3318, allocations: 1.304 MB / 0.5219 GB, free: 32.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.763e-05/0.3319, allocations: 26.09 kB / 0.522 GB, free: 32.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-06/0.3319, allocations: 0 / 0.522 GB, free: 32.39 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 6.915e-05/0.332, allocations: 119.7 kB / 0.5221 GB, free: 32.27 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.483e-05/0.332, allocations: 6.688 kB / 0.5221 GB, free: 32.27 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.833e-05/0.332, allocations: 18.53 kB / 0.5221 GB, free: 32.25 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.332, allocations: 3.938 kB / 0.5221 GB, free: 32.25 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.332, allocations: 0 / 0.5221 GB, free: 32.25 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.332, allocations: 0 / 0.5221 GB, free: 32.25 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005402/0.3326, allocations: 452.2 kB / 0.5225 GB, free: 31.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3326, allocations: 0 / 0.5225 GB, free: 31.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.826e-05/0.3327, allocations: 25.48 kB / 0.5226 GB, free: 31.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.946e-05/0.3328, allocations: 27.05 kB / 0.5226 GB, free: 31.86 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.3328, allocations: 128 / 0.5226 GB, free: 31.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005605/0.3333, allocations: 1.297 MB / 0.5239 GB, free: 30.54 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.3334, allocations: 3.938 kB / 0.5239 GB, free: 30.54 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003791/0.3337, allocations: 258.3 kB / 0.5241 GB, free: 30.36 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.419e-05/0.3338, allocations: 84.03 kB / 0.5242 GB, free: 30.27 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.042e-05/0.3338, allocations: 3.938 kB / 0.5242 GB, free: 30.26 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.3339, allocations: 22.17 kB / 0.5242 GB, free: 30.26 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.402e-05/0.334, allocations: 21.27 kB / 0.5242 GB, free: 30.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.334, allocations: 0 / 0.5242 GB, free: 30.25 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.222e-05/0.334, allocations: 96.77 kB / 0.5243 GB, free: 30.17 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.334, allocations: 0 / 0.5243 GB, free: 30.17 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002567/0.3343, allocations: 24.94 kB / 0.5243 GB, free: 30.16 MB / 378.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 8.4e-05/0.3344, allocations: 93.88 kB / 0.5244 GB, free: 30.07 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004665/0.3349, allocations: 236 kB / 0.5247 GB, free: 29.93 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3349, allocations: 0 / 0.5247 GB, free: 29.93 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002102/0.3351, allocations: 163.6 kB / 0.5248 GB, free: 29.81 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002819/0.3354, allocations: 12.12 kB / 0.5248 GB, free: 29.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004207/0.3358, allocations: 288.6 kB / 0.5251 GB, free: 29.57 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001417/0.336, allocations: 0.6945 MB / 0.5258 GB, free: 28.87 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.237e-05/0.336, allocations: 10.34 kB / 0.5258 GB, free: 28.86 MB / 378.7 MB Notification: Performance of SimCode: time 4.61e-07/0.336, allocations: 0 / 0.5258 GB, free: 28.86 MB / 378.7 MB Notification: Performance of Templates: time 0.002773/0.3388, allocations: 1.584 MB / 0.5273 GB, free: 28.75 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.VariableComponents.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.VariableComponents --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/VariableComponents/VariableComponents.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches