Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.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.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=9332,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents") translateModel(ModelicaTest.Magnetic.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=9332,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001775/0.001775, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.596/1.596, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001018/0.001018, allocations: 102.1 kB / 296.7 MB, free: 6.508 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4004/0.4004, allocations: 44.83 MB / 392.7 MB, free: 34.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 63.89 kB / 465.5 MB, free: 12.13 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3313, allocations: 62.01 MB / 0.5152 GB, free: 37.7 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.003873/0.3353, allocations: 3.557 MB / 0.5186 GB, free: 35.18 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001632/0.3369, allocations: 0.8195 MB / 0.5194 GB, free: 34.57 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002146/0.3372, allocations: 8.625 kB / 0.5194 GB, free: 34.57 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002084/0.3374, allocations: 59.66 kB / 0.5195 GB, free: 34.55 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002527/0.3377, allocations: 106.8 kB / 0.5196 GB, free: 34.47 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003048/0.338, allocations: 105.9 kB / 0.5197 GB, free: 34.4 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003625/0.3384, allocations: 0.5033 MB / 0.5202 GB, free: 34.16 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002792/0.3386, allocations: 211 kB / 0.5204 GB, free: 34.05 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002599/0.3389, allocations: 201.8 kB / 0.5206 GB, free: 33.96 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001985/0.3391, allocations: 220.1 kB / 0.5208 GB, free: 33.85 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.998e-05/0.3392, allocations: 35 kB / 0.5208 GB, free: 33.85 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.606e-05/0.3393, allocations: 35.56 kB / 0.5209 GB, free: 33.85 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.408e-05/0.3393, allocations: 91.05 kB / 0.5209 GB, free: 33.79 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001776/0.3395, allocations: 237.3 kB / 0.5212 GB, free: 33.66 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004155/0.3399, allocations: 0.5328 MB / 0.5217 GB, free: 33.44 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.3399, allocations: 3.938 kB / 0.5217 GB, free: 33.44 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.34, allocations: 4 kB / 0.5217 GB, free: 33.43 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.34, allocations: 0 / 0.5217 GB, free: 33.43 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001173/0.3411, allocations: 0.7592 MB / 0.5224 GB, free: 32.86 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.3412, allocations: 12.06 kB / 0.5224 GB, free: 32.86 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.874e-05/0.3413, allocations: 50.16 kB / 0.5225 GB, free: 32.84 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003053/0.3416, allocations: 316.5 kB / 0.5228 GB, free: 32.55 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.85e-05/0.3416, allocations: 37.28 kB / 0.5228 GB, free: 32.54 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.943e-05/0.3417, allocations: 47.28 kB / 0.5229 GB, free: 32.52 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006472/0.3423, allocations: 468.8 kB / 0.5233 GB, free: 32.3 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.3424, allocations: 0 / 0.5233 GB, free: 32.3 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.502e-05/0.3424, allocations: 25.66 kB / 0.5234 GB, free: 32.28 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.3424, allocations: 11 kB / 0.5234 GB, free: 32.28 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000595/0.343, allocations: 320.1 kB / 0.5237 GB, free: 32.18 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001968/0.345, allocations: 1.694 MB / 0.5253 GB, free: 31.01 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004612/0.3455, allocations: 235.2 kB / 0.5255 GB, free: 30.9 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002762/0.3458, allocations: 144.4 kB / 0.5257 GB, free: 30.84 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.3458, allocations: 2.688 kB / 0.5257 GB, free: 30.84 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.718e-05/0.3458, allocations: 33.22 kB / 0.5257 GB, free: 30.8 MB / 378.7 MB Notification: Performance of pre-optimization done (n=26): time 1.643e-06/0.3458, allocations: 0 / 0.5257 GB, free: 30.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.002505/0.3483, allocations: 1.349 MB / 0.527 GB, free: 29.86 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.923e-05/0.3484, allocations: 80.02 kB / 0.5271 GB, free: 29.77 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002086/0.3486, allocations: 256.3 kB / 0.5274 GB, free: 29.62 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.3486, allocations: 29.7 kB / 0.5274 GB, free: 29.59 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.963e-05/0.3487, allocations: 257.3 kB / 0.5276 GB, free: 29.38 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.773e-05/0.3488, allocations: 124.6 kB / 0.5277 GB, free: 29.28 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.079e-05/0.3489, allocations: 76.03 kB / 0.5278 GB, free: 29.23 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.341e-05/0.349, allocations: 346.2 kB / 0.5282 GB, free: 28.9 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002372/0.3492, allocations: 103.9 kB / 0.5282 GB, free: 28.87 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002693/0.3495, allocations: 220.9 kB / 0.5285 GB, free: 28.7 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004952/0.35, allocations: 341.8 kB / 0.5288 GB, free: 28.47 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.35, allocations: 0 / 0.5288 GB, free: 28.47 MB / 378.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0006852/0.3507, allocations: 419.4 kB / 0.5292 GB, free: 28.29 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.3507, allocations: 8.594 kB / 0.5292 GB, free: 28.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.3507, allocations: 2.656 kB / 0.5292 GB, free: 28.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001244/0.3509, allocations: 32.72 kB / 0.5292 GB, free: 28.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004089/0.3513, allocations: 124.6 kB / 0.5293 GB, free: 28.26 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007498/0.352, allocations: 1.334 MB / 0.5306 GB, free: 26.92 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002179/0.3523, allocations: 15.91 kB / 0.5307 GB, free: 26.92 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.327e-05/0.3523, allocations: 23.5 kB / 0.5307 GB, free: 26.91 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001426/0.3524, allocations: 165.6 kB / 0.5308 GB, free: 26.75 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.682e-05/0.3525, allocations: 36.94 kB / 0.5309 GB, free: 26.73 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.004e-05/0.3526, allocations: 39.25 kB / 0.5309 GB, free: 26.7 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.135e-06/0.3526, allocations: 6.656 kB / 0.5309 GB, free: 26.7 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.3526, allocations: 2.844 kB / 0.5309 GB, free: 26.7 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-06/0.3526, allocations: 3.375 kB / 0.5309 GB, free: 26.7 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008797/0.3535, allocations: 0.7132 MB / 0.5316 GB, free: 26.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.3535, allocations: 0 / 0.5316 GB, free: 26.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000366/0.3539, allocations: 93.92 kB / 0.5317 GB, free: 26.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.21e-05/0.354, allocations: 29.52 kB / 0.5317 GB, free: 26.19 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.354, allocations: 10.84 kB / 0.5318 GB, free: 26.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005971/0.3546, allocations: 1.326 MB / 0.533 GB, free: 24.84 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.3546, allocations: 3.031 kB / 0.5331 GB, free: 24.84 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003536/0.3582, allocations: 3.809 MB / 0.5368 GB, free: 21.73 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.06e-05/0.3583, allocations: 121 kB / 0.5369 GB, free: 21.61 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.2e-05/0.3583, allocations: 6.875 kB / 0.5369 GB, free: 21.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002487/0.3586, allocations: 26.67 kB / 0.5369 GB, free: 21.59 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.857e-05/0.3587, allocations: 22.61 kB / 0.5369 GB, free: 21.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.896e-05/0.3587, allocations: 12.81 kB / 0.537 GB, free: 21.59 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001498/0.3588, allocations: 187.5 kB / 0.5371 GB, free: 21.48 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.3588, allocations: 0 / 0.5371 GB, free: 21.48 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006413/0.3595, allocations: 118.2 kB / 0.5372 GB, free: 21.46 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter.i,converter1.i,eddyCurrent.Phi) * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001455/0.3596, allocations: 106.7 kB / 0.5373 GB, free: 21.37 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008807/0.3605, allocations: 408.1 kB / 0.5377 GB, free: 21.16 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.3606, allocations: 2.75 kB / 0.5377 GB, free: 21.16 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003173/0.3609, allocations: 260.7 kB / 0.538 GB, free: 21 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005533/0.3614, allocations: 46.06 kB / 0.538 GB, free: 20.97 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001615/0.3631, allocations: 1.452 MB / 0.5394 GB, free: 19.89 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002383/0.3633, allocations: 0.8221 MB / 0.5403 GB, free: 19.19 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001726/0.3635, allocations: 35.42 kB / 0.5403 GB, free: 19.18 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.414e-05/0.3636, allocations: 26.91 kB / 0.5403 GB, free: 19.17 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3636, allocations: 0 / 0.5403 GB, free: 19.17 MB / 378.7 MB Notification: Performance of Templates: time 0.008009/0.3716, allocations: 3.56 MB / 0.5438 GB, free: 18.9 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/BasicComponents/BasicComponents.csv","../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches