Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.Phi|coil.i|r_mLeak.port_p.Phi|rootMeanSquare.mean.x|sourceQS.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|coil.Phi|coil.i|r_mLeak.port_p.Phi|rootMeanSquare.mean.x|sourceQS.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 115.5 kB / 17.7 MB, free: 5.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001904/0.001904, allocations: 192 kB / 18.63 MB, free: 4.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009686/0.0009687, allocations: 46.92 kB / 302.1 MB, free: 5.164 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08395/0.08493, allocations: 49.45 MB / 351.5 MB, free: 3.691 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.007445/0.09241, allocations: 6.444 MB / 358 MB, free: 13.21 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00399/0.09643, allocations: 2.55 MB / 360.5 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003971/0.09685, allocations: 20 kB / 360.5 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002698/0.09958, allocations: 1.269 MB / 361.8 MB, free: 9.359 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001468/0.1011, allocations: 0.6873 MB / 362.5 MB, free: 8.668 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001992/0.1031, allocations: 1.101 MB / 363.6 MB, free: 7.566 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001104/0.1042, allocations: 1.063 MB / 364.6 MB, free: 6.496 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001164/0.1054, allocations: 0.9147 MB / 365.6 MB, free: 5.562 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004451/0.1058, allocations: 430.4 kB / 366 MB, free: 5.141 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005707/0.1064, allocations: 0.5484 MB / 366.5 MB, free: 4.59 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001156/0.1065, allocations: 100 kB / 366.6 MB, free: 4.492 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007472/0.1073, allocations: 407.6 kB / 367 MB, free: 4.094 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001798/0.1075, allocations: 231.1 kB / 367.2 MB, free: 3.867 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004605/0.1079, allocations: 0.517 MB / 367.8 MB, free: 3.348 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001541/0.1095, allocations: 1.503 MB / 369.3 MB, free: 1.84 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1095, allocations: 0 / 369.3 MB, free: 1.84 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1095, allocations: 0 / 369.3 MB, free: 1.84 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.222e-05/0.1095, allocations: 3.984 kB / 369.3 MB, free: 1.836 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.004135/0.1137, allocations: 1.624 MB / 370.9 MB, free: 160 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.1137, allocations: 12.03 kB / 370.9 MB, free: 148 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1417/0.2555, allocations: 474.7 kB / 371.4 MB, free: 25.16 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007434/0.2562, allocations: 498.4 kB / 371.9 MB, free: 24.92 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.08e-05/0.2563, allocations: 81.72 kB / 371.9 MB, free: 24.91 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001572/0.2565, allocations: 110.1 kB / 372 MB, free: 24.91 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001749/0.2582, allocations: 0.9665 MB / 373 MB, free: 24.74 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.137e-05/0.2583, allocations: 7.969 kB / 373 MB, free: 24.74 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.429e-05/0.2584, allocations: 45.81 kB / 373.1 MB, free: 24.7 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.057e-05/0.2584, allocations: 26.59 kB / 373.1 MB, free: 24.7 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00179/0.2602, allocations: 0.9622 MB / 374.1 MB, free: 24.37 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005142/0.2653, allocations: 3.675 MB / 377.7 MB, free: 22.11 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001615/0.267, allocations: 1.54 MB / 379.3 MB, free: 20.93 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007184/0.2677, allocations: 437.7 kB / 379.7 MB, free: 20.77 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001099/0.2678, allocations: 99.52 kB / 379.8 MB, free: 20.68 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007795/0.2686, allocations: 484.4 kB / 380.3 MB, free: 20.45 MB / 302.1 MB Notification: Performance of pre-optimization done (n=96): time 2.445e-06/0.2686, allocations: 0 / 380.3 MB, free: 20.45 MB / 302.1 MB Notification: Performance of matching and sorting (n=125): time 0.008122/0.2768, allocations: 3.977 MB / 384.2 MB, free: 18.55 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.011e-05/0.2768, allocations: 146.7 kB / 384.4 MB, free: 18.39 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004541/0.2773, allocations: 393.5 kB / 384.8 MB, free: 18.19 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.531e-05/0.2774, allocations: 48.19 kB / 384.8 MB, free: 18.14 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002087/0.2776, allocations: 418.7 kB / 385.2 MB, free: 17.81 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000209/0.2778, allocations: 423.7 kB / 385.6 MB, free: 17.49 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002704/0.2781, allocations: 206.4 kB / 385.8 MB, free: 17.39 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.933e-05/0.2782, allocations: 379.1 kB / 386.2 MB, free: 17.04 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006485/0.2788, allocations: 356 kB / 386.6 MB, free: 16.91 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007406/0.2796, allocations: 0.5449 MB / 387.1 MB, free: 16.57 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001344/0.2809, allocations: 0.9433 MB / 388 MB, free: 16.02 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.668e-06/0.2809, allocations: 0.9062 kB / 388 MB, free: 16.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002279/0.2832, allocations: 1.391 MB / 389.4 MB, free: 15.41 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.2833, allocations: 8.703 kB / 389.4 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.2833, allocations: 4.562 kB / 389.5 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007983/0.2841, allocations: 353.8 kB / 389.8 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007767/0.2849, allocations: 200.6 kB / 390 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006115/0.291, allocations: 8.482 MB / 398.5 MB, free: 7.793 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007656/0.2918, allocations: 49.61 kB / 398.5 MB, free: 7.766 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.747e-05/0.2919, allocations: 45.17 kB / 398.6 MB, free: 7.754 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,rootMeanSquare.mean.y_last,$PRE.rootMeanSquare.mean.y_last) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (114): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,4,100.0%), (1,2,100.0%), (1,19,100.0%), (1,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004267/0.2923, allocations: 264.8 kB / 398.8 MB, free: 7.535 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001184/0.2924, allocations: 68.72 kB / 398.9 MB, free: 7.5 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002204/0.2947, allocations: 1.311 MB / 400.2 MB, free: 6.734 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.2947, allocations: 11.84 kB / 400.2 MB, free: 6.734 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.2947, allocations: 7.906 kB / 400.2 MB, free: 6.734 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/0.2947, allocations: 7.969 kB / 400.2 MB, free: 6.727 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003319/0.298, allocations: 2.521 MB / 402.8 MB, free: 4.914 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.298, allocations: 7.984 kB / 402.8 MB, free: 4.906 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006456/0.2987, allocations: 159.7 kB / 402.9 MB, free: 4.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006515/0.2994, allocations: 318.1 kB / 403.2 MB, free: 4.43 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.574e-05/0.2994, allocations: 31.98 kB / 403.3 MB, free: 4.398 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006071/0.3055, allocations: 8.107 MB / 411.4 MB, free: 11.75 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.3055, allocations: 4 kB / 411.4 MB, free: 11.75 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003041/0.3086, allocations: 1.825 MB / 413.2 MB, free: 9.875 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003041/0.3089, allocations: 224.1 kB / 413.4 MB, free: 9.637 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.616e-05/0.309, allocations: 24 kB / 413.4 MB, free: 9.613 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004927/0.3095, allocations: 35.98 kB / 413.5 MB, free: 9.578 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000169/0.3097, allocations: 100.8 kB / 413.6 MB, free: 9.48 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.119e-05/0.3097, allocations: 42.52 kB / 413.6 MB, free: 9.441 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002833/0.31, allocations: 271.1 kB / 413.9 MB, free: 9.176 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.31, allocations: 4 kB / 413.9 MB, free: 9.172 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00112/0.3112, allocations: 309.5 kB / 414.2 MB, free: 8.871 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (coil.i,rootMeanSquare.mean.x,sourceQS.pin_p.reference.gamma) * Number of discrete variables: 2 ($whenCondition1,rootMeanSquare.mean.y_last) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,19,100.0%), (1,2,100.0%), (1,4,100.0%), (1,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002548/0.3114, allocations: 182.2 kB / 414.4 MB, free: 8.688 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002474/0.3139, allocations: 1.6 MB / 416 MB, free: 7.039 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.3139, allocations: 5.062 kB / 416 MB, free: 7.035 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001546/0.3155, allocations: 1.138 MB / 417.1 MB, free: 5.844 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005227/0.316, allocations: 87.94 kB / 417.2 MB, free: 5.762 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003116/0.3191, allocations: 1.929 MB / 419.1 MB, free: 3.801 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005651/0.3197, allocations: 1.021 MB / 420.1 MB, free: 2.754 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003923/0.3201, allocations: 102.2 kB / 420.2 MB, free: 2.652 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001626/0.3203, allocations: 55.42 kB / 420.3 MB, free: 2.598 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3203, allocations: 0 / 420.3 MB, free: 2.598 MB / 318.1 MB Notification: Performance of Templates: time 0.01795/0.3383, allocations: 10.91 MB / 431.2 MB, free: 7.723 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/LinearInductor/LinearInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches