Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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) 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(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000796/0.0007961, allocations: 92.91 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009443/0.0009444, allocations: 197.9 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.359/1.359, allocations: 227.8 MB / 246.8 MB, free: 11.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000227/0.000227, allocations: 8 kB / 307.8 MB, free: 0.8281 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08936/0.08961, allocations: 51.52 MB / 359.3 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.005164/0.09481, allocations: 4.577 MB / 363.8 MB, free: 8.715 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003567/0.09841, allocations: 2.102 MB / 365.9 MB, free: 6.602 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003997/0.09883, allocations: 16 kB / 366 MB, free: 6.586 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007903/0.09964, allocations: 298.8 kB / 366.3 MB, free: 6.293 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001263/0.1009, allocations: 370.2 kB / 366.6 MB, free: 5.93 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002245/0.1032, allocations: 1.16 MB / 367.8 MB, free: 4.773 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001007/0.1042, allocations: 0.6966 MB / 368.5 MB, free: 4.074 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002259/0.1065, allocations: 1.233 MB / 369.7 MB, free: 2.82 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004748/0.1069, allocations: 294.8 kB / 370 MB, free: 2.531 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005397/0.1075, allocations: 374.4 kB / 370.4 MB, free: 2.164 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001019/0.1076, allocations: 32 kB / 370.4 MB, free: 2.133 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008385/0.1085, allocations: 371.6 kB / 370.8 MB, free: 1.77 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001563/0.1086, allocations: 127.4 kB / 370.9 MB, free: 1.645 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003748/0.109, allocations: 359.8 kB / 371.2 MB, free: 1.285 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001388/0.1104, allocations: 1.145 MB / 372.4 MB, free: 140 kB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1104, allocations: 4 kB / 372.4 MB, free: 136 kB / 302.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1104, allocations: 0 / 372.4 MB, free: 136 kB / 302.1 MB Notification: Performance of Transformations before backend: time 2.35e-05/0.1104, allocations: 0 / 372.4 MB, free: 136 kB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.1681/0.2785, allocations: 1.336 MB / 373.7 MB, free: 19.1 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.682e-05/0.2786, allocations: 9.719 kB / 373.7 MB, free: 19.1 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003135/0.2818, allocations: 386.5 kB / 374.1 MB, free: 19.06 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003164/0.2821, allocations: 263.5 kB / 374.4 MB, free: 18.81 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001314/0.2822, allocations: 68.17 kB / 374.4 MB, free: 18.81 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003234/0.2826, allocations: 80.38 kB / 374.5 MB, free: 18.81 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002381/0.285, allocations: 0.8889 MB / 375.4 MB, free: 18.73 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.763e-05/0.285, allocations: 1.734 kB / 375.4 MB, free: 18.73 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.725e-05/0.2851, allocations: 37.75 kB / 375.4 MB, free: 18.73 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.038e-05/0.2852, allocations: 20.09 kB / 375.5 MB, free: 18.73 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00212/0.2873, allocations: 0.8258 MB / 376.3 MB, free: 18.66 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004629/0.2919, allocations: 3.051 MB / 379.3 MB, free: 16.64 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001164/0.2931, allocations: 1.011 MB / 380.3 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005442/0.2937, allocations: 254.2 kB / 380.6 MB, free: 15.76 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001191/0.2938, allocations: 174.5 kB / 380.8 MB, free: 15.57 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.2938, allocations: 38.84 kB / 380.8 MB, free: 15.53 MB / 302.1 MB Notification: Performance of pre-optimization done (n=58): time 3.046e-06/0.2938, allocations: 4 kB / 380.8 MB, free: 15.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.007661/0.3015, allocations: 2.671 MB / 383.5 MB, free: 14.41 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/0.3015, allocations: 89.52 kB / 383.6 MB, free: 14.31 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002953/0.3018, allocations: 300.8 kB / 383.9 MB, free: 14.14 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.801e-05/0.3019, allocations: 39.5 kB / 383.9 MB, free: 14.1 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001413/0.302, allocations: 362.2 kB / 384.2 MB, free: 13.81 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/0.3022, allocations: 211.6 kB / 384.5 MB, free: 13.65 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.51e-05/0.3023, allocations: 68.09 kB / 384.5 MB, free: 13.61 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.239e-05/0.3023, allocations: 348.7 kB / 384.9 MB, free: 13.28 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007719/0.3031, allocations: 296.2 kB / 385.1 MB, free: 13.2 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008517/0.304, allocations: 0.526 MB / 385.7 MB, free: 12.81 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001615/0.3056, allocations: 0.8514 MB / 386.5 MB, free: 12.28 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.3056, allocations: 2.281 kB / 386.5 MB, free: 12.28 MB / 302.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002039/0.3077, allocations: 0.9476 MB / 387.5 MB, free: 11.91 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.3077, allocations: 7.625 kB / 387.5 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/0.3077, allocations: 8.922 kB / 387.5 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00022/0.3079, allocations: 71.89 kB / 387.6 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008861/0.3088, allocations: 217.4 kB / 387.8 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001318/0.3102, allocations: 2.663 MB / 390.4 MB, free: 9.172 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006714/0.3108, allocations: 82.69 kB / 390.5 MB, free: 9.148 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-05/0.3109, allocations: 34.11 kB / 390.6 MB, free: 9.145 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (95): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002604/0.3112, allocations: 225.2 kB / 390.8 MB, free: 8.949 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.833e-05/0.3113, allocations: 40.16 kB / 390.8 MB, free: 8.93 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001917/0.3132, allocations: 0.7793 MB / 391.6 MB, free: 8.629 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.084e-06/0.3132, allocations: 5.406 kB / 391.6 MB, free: 8.629 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3132, allocations: 2.375 kB / 391.6 MB, free: 8.629 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.3132, allocations: 7.172 kB / 391.6 MB, free: 8.625 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002495/0.3157, allocations: 1.461 MB / 393.1 MB, free: 7.879 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.3157, allocations: 0 / 393.1 MB, free: 7.879 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006588/0.3164, allocations: 144.9 kB / 393.2 MB, free: 7.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001634/0.3166, allocations: 59.02 kB / 393.3 MB, free: 7.801 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.684e-05/0.3166, allocations: 19.42 kB / 393.3 MB, free: 7.785 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001197/0.3178, allocations: 2.651 MB / 395.9 MB, free: 5.055 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.3178, allocations: 0 / 395.9 MB, free: 5.055 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002369/0.3202, allocations: 1.152 MB / 397.1 MB, free: 4.43 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001758/0.3204, allocations: 165.2 kB / 397.2 MB, free: 4.266 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.256e-05/0.3205, allocations: 19.08 kB / 397.3 MB, free: 4.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005227/0.321, allocations: 59.95 kB / 397.3 MB, free: 4.227 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/0.3211, allocations: 41.69 kB / 397.4 MB, free: 4.203 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.565e-05/0.3212, allocations: 19.39 kB / 397.4 MB, free: 4.195 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001814/0.3214, allocations: 203.3 kB / 397.6 MB, free: 4.062 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3214, allocations: 1.375 kB / 397.6 MB, free: 4.062 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000723/0.3221, allocations: 183.4 kB / 397.8 MB, free: 4.027 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSource.pin_p.reference.gamma) * 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 (58): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (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.0002253/0.3223, allocations: 154.8 kB / 397.9 MB, free: 3.914 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001885/0.3242, allocations: 0.9552 MB / 398.9 MB, free: 3.375 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3242, allocations: 64 / 398.9 MB, free: 3.375 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009295/0.3252, allocations: 0.5779 MB / 399.4 MB, free: 2.992 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003924/0.3256, allocations: 44.45 kB / 399.5 MB, free: 2.961 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002246/0.3278, allocations: 1.628 MB / 401.1 MB, free: 1.809 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002276/0.3281, allocations: 0.8795 MB / 402 MB, free: 1.031 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004252/0.3285, allocations: 84.08 kB / 402.1 MB, free: 0.9844 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001488/0.3287, allocations: 42.95 kB / 402.1 MB, free: 0.9727 MB / 302.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3287, allocations: 0 / 402.1 MB, free: 0.9727 MB / 302.1 MB Notification: Performance of Templates: time 0.01061/0.3393, allocations: 5.943 MB / 408.1 MB, free: 11.77 MB / 318.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches