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.001008/0.001008, allocations: 93.31 kB / 17.31 MB, free: 6.535 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.00108/0.00108, allocations: 175.5 kB / 18.21 MB, free: 5.684 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.105/1.105, allocations: 223.3 MB / 242.2 MB, free: 212 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002017/0.0002017, allocations: 8 kB / 302.1 MB, free: 6.125 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06922/0.06944, allocations: 50.42 MB / 352.5 MB, free: 3.695 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.005278/0.07473, allocations: 5.937 MB / 358.4 MB, free: 13.72 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003307/0.07805, allocations: 2.43 MB / 360.9 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003372/0.0784, allocations: 27.94 kB / 360.9 MB, free: 11.26 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00063/0.07904, allocations: 330.5 kB / 361.2 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001104/0.08015, allocations: 0.6135 MB / 361.8 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001563/0.08172, allocations: 1.043 MB / 362.9 MB, free: 9.277 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007566/0.08249, allocations: 1.012 MB / 363.9 MB, free: 8.258 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001658/0.08416, allocations: 1.326 MB / 365.2 MB, free: 6.879 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003086/0.08448, allocations: 370.3 kB / 365.6 MB, free: 6.516 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004273/0.08491, allocations: 481.8 kB / 366 MB, free: 6.043 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.075e-05/0.08499, allocations: 52 kB / 366.1 MB, free: 5.992 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004662/0.08546, allocations: 355.6 kB / 366.4 MB, free: 5.645 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001186/0.08559, allocations: 171.2 kB / 366.6 MB, free: 5.477 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003197/0.08592, allocations: 491.1 kB / 367.1 MB, free: 4.988 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008014/0.08672, allocations: 1.114 MB / 368.2 MB, free: 3.871 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.08673, allocations: 4 kB / 368.2 MB, free: 3.867 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.61e-07/0.08674, allocations: 0 / 368.2 MB, free: 3.867 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.216e-06/0.08676, allocations: 0 / 368.2 MB, free: 3.867 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.003259/0.09002, allocations: 1.445 MB / 369.6 MB, free: 2.367 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.848e-05/0.09006, allocations: 12.03 kB / 369.7 MB, free: 2.355 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002769/0.09283, allocations: 479.2 kB / 370.1 MB, free: 1.887 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004797/0.09332, allocations: 498.2 kB / 370.6 MB, free: 1.363 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.641e-05/0.09338, allocations: 90.2 kB / 370.7 MB, free: 1.273 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000136/0.09353, allocations: 108 kB / 370.8 MB, free: 1.168 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001512/0.09504, allocations: 0.9745 MB / 371.8 MB, free: 168 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.537e-05/0.09508, allocations: 3.906 kB / 371.8 MB, free: 164 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-05/0.09517, allocations: 44 kB / 371.8 MB, free: 120 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.748e-05/0.09519, allocations: 24 kB / 371.9 MB, free: 96 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1217/0.2169, allocations: 0.974 MB / 372.8 MB, free: 23.89 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004726/0.2216, allocations: 3.716 MB / 376.5 MB, free: 22.25 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001443/0.2231, allocations: 1.544 MB / 378.1 MB, free: 21.06 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006194/0.2237, allocations: 435.3 kB / 378.5 MB, free: 20.9 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.325e-05/0.2238, allocations: 101.2 kB / 378.6 MB, free: 20.8 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007048/0.2245, allocations: 484.6 kB / 379.1 MB, free: 20.57 MB / 302.1 MB Notification: Performance of pre-optimization done (n=96): time 2.645e-06/0.2245, allocations: 0 / 379.1 MB, free: 20.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=125): time 0.007703/0.2322, allocations: 4.033 MB / 383.1 MB, free: 18.65 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/0.2323, allocations: 143.7 kB / 383.3 MB, free: 18.49 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000356/0.2327, allocations: 396.7 kB / 383.6 MB, free: 18.29 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.892e-05/0.2327, allocations: 50.39 kB / 383.7 MB, free: 18.24 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001645/0.2329, allocations: 421 kB / 384.1 MB, free: 17.91 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001972/0.2331, allocations: 426.2 kB / 384.5 MB, free: 17.59 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.2332, allocations: 100.1 kB / 384.6 MB, free: 17.53 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.78e-05/0.2333, allocations: 383.4 kB / 385 MB, free: 17.18 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00061/0.2339, allocations: 361.6 kB / 385.3 MB, free: 17.05 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006988/0.2346, allocations: 0.5422 MB / 385.9 MB, free: 16.71 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001279/0.2359, allocations: 0.9464 MB / 386.8 MB, free: 16.16 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.2359, allocations: 1.344 kB / 386.8 MB, free: 16.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002153/0.2381, allocations: 1.393 MB / 388.2 MB, free: 15.54 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.2381, allocations: 7.859 kB / 388.2 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.2381, allocations: 4.562 kB / 388.2 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007538/0.2389, allocations: 357.1 kB / 388.6 MB, free: 15.42 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007321/0.2396, allocations: 200.1 kB / 388.8 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005096/0.2447, allocations: 7.749 MB / 396.5 MB, free: 8.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005482/0.2453, allocations: 50.03 kB / 396.6 MB, free: 8.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.215e-05/0.2453, allocations: 41.91 kB / 396.6 MB, free: 8.723 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.0002796/0.2456, allocations: 256.8 kB / 396.9 MB, free: 8.512 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.222e-05/0.2457, allocations: 74.8 kB / 396.9 MB, free: 8.477 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002086/0.2478, allocations: 1.31 MB / 398.3 MB, free: 7.875 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/0.2478, allocations: 21.06 kB / 398.3 MB, free: 7.867 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.969e-06/0.2479, allocations: 7.156 kB / 398.3 MB, free: 7.867 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/0.2479, allocations: 7.5 kB / 398.3 MB, free: 7.867 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003088/0.251, allocations: 2.544 MB / 400.8 MB, free: 6.234 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.251, allocations: 192 / 400.8 MB, free: 6.234 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000555/0.2515, allocations: 162 kB / 401 MB, free: 6.195 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005918/0.2521, allocations: 321.3 kB / 401.3 MB, free: 6.031 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.578e-05/0.2522, allocations: 27.89 kB / 401.3 MB, free: 6.012 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004639/0.2568, allocations: 7.453 MB / 408.8 MB, free: 14.59 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.2569, allocations: 3.938 kB / 408.8 MB, free: 14.59 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002723/0.2596, allocations: 1.832 MB / 410.6 MB, free: 12.7 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002264/0.2598, allocations: 224.2 kB / 410.8 MB, free: 12.46 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.023e-05/0.2599, allocations: 24 kB / 410.9 MB, free: 12.44 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004625/0.2604, allocations: 39.98 kB / 410.9 MB, free: 12.4 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001427/0.2605, allocations: 96.8 kB / 411 MB, free: 12.31 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-05/0.2606, allocations: 34.19 kB / 411 MB, free: 12.28 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002394/0.2608, allocations: 279.1 kB / 411.3 MB, free: 12 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2608, allocations: 0 / 411.3 MB, free: 12 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008691/0.2617, allocations: 316 kB / 411.6 MB, free: 11.69 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.000225/0.2619, allocations: 173.8 kB / 411.8 MB, free: 11.52 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002178/0.2641, allocations: 1.617 MB / 413.4 MB, free: 9.855 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.2641, allocations: 4 kB / 413.4 MB, free: 9.852 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001365/0.2655, allocations: 1.158 MB / 414.6 MB, free: 8.645 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005294/0.2661, allocations: 73.55 kB / 414.6 MB, free: 8.574 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003003/0.2691, allocations: 2.524 MB / 417.2 MB, free: 6.004 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004964/0.2696, allocations: 1.021 MB / 418.2 MB, free: 4.953 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002014/0.2698, allocations: 67.42 kB / 418.2 MB, free: 4.887 MB / 318.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2698, allocations: 0 / 418.2 MB, free: 4.887 MB / 318.1 MB Notification: Performance of Templates: time 0.02261/0.2924, allocations: 26.09 MB / 444.3 MB, free: 10.74 MB / 350.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 -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