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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001266/0.001266, allocations: 107.6 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001439/0.001439, allocations: 215.9 kB / 19.41 MB, free: 3.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.345/1.345, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2064/0.2064, allocations: 46.1 MB / 345 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 83.86 kB / 482 MB, free: 4.125 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.3091, allocations: 62.43 MB / 0.5316 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.002507/0.3116, allocations: 1.735 MB / 0.5333 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001472/0.3118, allocations: 82.7 kB / 0.5334 GB, free: 12.22 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.491e-05/0.3119, allocations: 1.375 kB / 0.5334 GB, free: 12.22 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.688e-05/0.3119, allocations: 17.19 kB / 0.5334 GB, free: 12.2 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.981e-05/0.312, allocations: 22.53 kB / 0.5335 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.372e-05/0.3121, allocations: 22.72 kB / 0.5335 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001202/0.3122, allocations: 110.2 kB / 0.5336 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001377/0.3124, allocations: 55.12 kB / 0.5336 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.998e-05/0.3124, allocations: 43.72 kB / 0.5337 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.962e-05/0.3125, allocations: 51.86 kB / 0.5337 GB, free: 12 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.332e-05/0.3125, allocations: 11.25 kB / 0.5337 GB, free: 12 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.81e-05/0.3125, allocations: 11.09 kB / 0.5337 GB, free: 12 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.341e-05/0.3126, allocations: 22.7 kB / 0.5338 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.306e-05/0.3126, allocations: 54.03 kB / 0.5338 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001213/0.3128, allocations: 113.6 kB / 0.5339 GB, free: 11.86 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3128, allocations: 8 kB / 0.5339 GB, free: 11.85 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.3128, allocations: 0 / 0.5339 GB, free: 11.85 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.3128, allocations: 0 / 0.5339 GB, free: 11.85 MB / 398.1 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.0005426/0.3133, allocations: 411.2 kB / 0.5343 GB, free: 11.45 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.3134, allocations: 8.375 kB / 0.5343 GB, free: 11.45 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.407e-05/0.3134, allocations: 15.22 kB / 0.5343 GB, free: 11.44 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.3135, allocations: 183.7 kB / 0.5345 GB, free: 11.22 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.3136, allocations: 7.781 kB / 0.5345 GB, free: 11.22 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.15e-05/0.3136, allocations: 10.94 kB / 0.5345 GB, free: 11.21 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002903/0.3139, allocations: 123.8 kB / 0.5347 GB, free: 11.13 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.076e-06/0.3139, allocations: 192 / 0.5347 GB, free: 11.13 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.638e-05/0.3139, allocations: 9.234 kB / 0.5347 GB, free: 11.12 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.3139, allocations: 2.625 kB / 0.5347 GB, free: 11.12 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003304/0.3143, allocations: 113 kB / 0.5348 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006587/0.3149, allocations: 477.4 kB / 0.5352 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002219/0.3152, allocations: 84.97 kB / 0.5353 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002191/0.3154, allocations: 61.84 kB / 0.5354 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.242e-05/0.3154, allocations: 1.375 kB / 0.5354 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.3154, allocations: 30.56 kB / 0.5354 GB, free: 10.5 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.3154, allocations: 0 / 0.5354 GB, free: 10.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007267/0.3162, allocations: 272.5 kB / 0.5357 GB, free: 10.29 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.543e-05/0.3162, allocations: 52.78 kB / 0.5357 GB, free: 10.22 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.994e-05/0.3163, allocations: 124.9 kB / 0.5358 GB, free: 10.11 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.3163, allocations: 35.08 kB / 0.5359 GB, free: 10.07 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.178e-05/0.3164, allocations: 104.2 kB / 0.536 GB, free: 9.961 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.723e-05/0.3164, allocations: 18.5 kB / 0.536 GB, free: 9.945 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.638e-05/0.3164, allocations: 19.22 kB / 0.536 GB, free: 9.926 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.2e-05/0.3165, allocations: 320.2 kB / 0.5363 GB, free: 9.605 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/0.3167, allocations: 36.58 kB / 0.5363 GB, free: 9.59 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001438/0.3168, allocations: 56.55 kB / 0.5364 GB, free: 9.547 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002663/0.3171, allocations: 98.44 kB / 0.5365 GB, free: 9.484 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.3171, allocations: 4.25 kB / 0.5365 GB, free: 9.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003779/0.3175, allocations: 150.2 kB / 0.5366 GB, free: 9.383 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.3175, allocations: 5.594 kB / 0.5366 GB, free: 9.383 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.3175, allocations: 1.031 kB / 0.5366 GB, free: 9.383 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001465/0.3177, allocations: 28.25 kB / 0.5367 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.3178, allocations: 24.34 kB / 0.5367 GB, free: 9.352 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000964/0.3188, allocations: 1.405 MB / 0.5381 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.907e-05/0.3189, allocations: 16.36 kB / 0.5381 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.3189, allocations: 1.469 kB / 0.5381 GB, free: 7.887 MB / 398.1 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 (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 8.348e-05/0.319, allocations: 122 kB / 0.5382 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.081e-05/0.319, allocations: 11 kB / 0.5382 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.867e-05/0.3191, allocations: 13.53 kB / 0.5382 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.3191, allocations: 5.453 kB / 0.5382 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3191, allocations: 7.938 kB / 0.5382 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.413e-05/0.3192, allocations: 83.67 kB / 0.5383 GB, free: 7.637 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.064e-05/0.3192, allocations: 0 / 0.5383 GB, free: 7.637 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001489/0.3193, allocations: 10.92 kB / 0.5383 GB, free: 7.633 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.687e-05/0.3194, allocations: 11.67 kB / 0.5383 GB, free: 7.625 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006788/0.3201, allocations: 228.5 kB / 0.5386 GB, free: 7.453 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007512/0.3208, allocations: 337.6 kB / 0.5389 GB, free: 7.18 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002134/0.3211, allocations: 47.56 kB / 0.5389 GB, free: 7.156 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.513e-05/0.3212, allocations: 93.36 kB / 0.539 GB, free: 7.074 MB / 398.1 MB Notification: Performance of Backend: time 5.71e-07/0.3212, allocations: 0 / 0.539 GB, free: 7.074 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008152/0.322, allocations: 250.8 kB / 0.5393 GB, free: 6.855 MB / 398.1 MB Notification: Performance of SimCode: time 0.0008448/0.3229, allocations: 0.6608 MB / 0.5399 GB, free: 6.203 MB / 398.1 MB Notification: Performance of Templates: time 0.005485/0.3284, allocations: 1.226 MB / 0.5411 GB, free: 5.57 MB / 398.1 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches