Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001035/0.001035, allocations: 108.4 kB / 18.34 MB, free: 4.676 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.001042/0.001042, allocations: 186.9 kB / 19.28 MB, free: 3.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.363/1.363, allocations: 205.1 MB / 225.1 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 47.92 kB / 282.1 MB, free: 2.461 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08213/0.0833, allocations: 46.63 MB / 328.7 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.007461/0.09079, allocations: 6.448 MB / 335.2 MB, free: 13.27 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004744/0.09556, allocations: 2.586 MB / 337.8 MB, free: 10.67 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005991/0.09624, allocations: 20 kB / 337.8 MB, free: 10.65 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003079/0.09933, allocations: 1.279 MB / 339.1 MB, free: 9.363 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001574/0.1009, allocations: 0.7068 MB / 339.8 MB, free: 8.652 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002096/0.103, allocations: 1.105 MB / 340.9 MB, free: 7.543 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001099/0.1041, allocations: 1.106 MB / 342 MB, free: 6.43 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001161/0.1053, allocations: 0.8914 MB / 342.9 MB, free: 5.52 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004825/0.1058, allocations: 446.3 kB / 343.3 MB, free: 5.082 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006284/0.1064, allocations: 0.5641 MB / 343.9 MB, free: 4.516 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001431/0.1066, allocations: 96 kB / 344 MB, free: 4.422 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007598/0.1074, allocations: 411.6 kB / 344.4 MB, free: 4.02 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002048/0.1076, allocations: 235.1 kB / 344.6 MB, free: 3.789 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004858/0.1081, allocations: 0.5286 MB / 345.1 MB, free: 3.258 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001633/0.1097, allocations: 1.522 MB / 346.6 MB, free: 1.73 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.1097, allocations: 0 / 346.6 MB, free: 1.73 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1097, allocations: 0 / 346.6 MB, free: 1.73 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.348e-05/0.1097, allocations: 0 / 346.6 MB, free: 1.73 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.004054/0.1138, allocations: 1.655 MB / 348.3 MB, free: 24 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.1139, allocations: 15.97 kB / 348.3 MB, free: 8 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003912/0.1178, allocations: 0.5657 MB / 348.9 MB, free: 15.44 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006849/0.1185, allocations: 0.498 MB / 349.4 MB, free: 14.9 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.595e-05/0.1185, allocations: 90.23 kB / 349.5 MB, free: 14.81 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001609/0.1187, allocations: 112 kB / 349.6 MB, free: 14.7 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001749/0.1205, allocations: 1.011 MB / 350.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.92e-05/0.1205, allocations: 7.906 kB / 350.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-05/0.1206, allocations: 44 kB / 350.6 MB, free: 13.61 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.408e-05/0.1207, allocations: 28 kB / 350.7 MB, free: 13.59 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001946/0.1226, allocations: 1.032 MB / 351.7 MB, free: 12.55 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006071/0.1287, allocations: 3.846 MB / 355.5 MB, free: 8.469 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002193/0.1309, allocations: 2.052 MB / 357.6 MB, free: 6.141 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007678/0.1317, allocations: 447.5 kB / 358 MB, free: 5.699 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001145/0.1318, allocations: 102.2 kB / 358.1 MB, free: 5.582 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008052/0.1326, allocations: 482.4 kB / 358.6 MB, free: 5.086 MB / 302.1 MB Notification: Performance of pre-optimization done (n=98): time 2.715e-06/0.1326, allocations: 0 / 358.6 MB, free: 5.086 MB / 302.1 MB Notification: Performance of matching and sorting (n=127): time 0.008595/0.1412, allocations: 4.018 MB / 362.6 MB, free: 0.957 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.193e-05/0.1413, allocations: 149.5 kB / 362.8 MB, free: 0.7812 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004382/0.1418, allocations: 413.8 kB / 363.2 MB, free: 376 kB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.919e-05/0.1418, allocations: 45.7 kB / 363.2 MB, free: 324 kB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002808/0.1421, allocations: 439.5 kB / 363.6 MB, free: 15.88 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002762/0.1424, allocations: 429.7 kB / 364.1 MB, free: 15.45 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003009/0.1427, allocations: 218.8 kB / 364.3 MB, free: 15.23 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.1429, allocations: 382.7 kB / 364.6 MB, free: 14.85 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006969/0.1436, allocations: 362.5 kB / 365 MB, free: 14.5 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008505/0.1444, allocations: 0.5915 MB / 365.6 MB, free: 13.82 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001575/0.146, allocations: 0.9969 MB / 366.6 MB, free: 12.75 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.798e-06/0.146, allocations: 0 / 366.6 MB, free: 12.75 MB / 318.1 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.002557/0.1486, allocations: 1.437 MB / 368 MB, free: 11.29 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.1486, allocations: 8 kB / 368 MB, free: 11.28 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.1487, allocations: 8 kB / 368 MB, free: 11.27 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008521/0.1495, allocations: 347.1 kB / 368.4 MB, free: 10.92 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008858/0.1504, allocations: 223.6 kB / 368.6 MB, free: 10.7 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007558/0.158, allocations: 8.488 MB / 377.1 MB, free: 1.66 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007284/0.1587, allocations: 52.05 kB / 377.1 MB, free: 1.609 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.882e-05/0.1588, allocations: 48.12 kB / 377.2 MB, free: 1.562 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,rootMeanSquare.mean.y,$PRE.rootMeanSquare.mean.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 118 * 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.0004161/0.1592, allocations: 265.5 kB / 377.4 MB, free: 1.293 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001088/0.1594, allocations: 79.09 kB / 377.5 MB, free: 1.215 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1469/0.3062, allocations: 1.317 MB / 378.8 MB, free: 51.73 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.125e-05/0.3063, allocations: 20.14 kB / 378.9 MB, free: 51.73 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.174e-05/0.3063, allocations: 10.05 kB / 378.9 MB, free: 51.73 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.85e-05/0.3064, allocations: 6.375 kB / 378.9 MB, free: 51.73 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006657/0.3131, allocations: 2.557 MB / 381.4 MB, free: 51.34 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.305e-06/0.3131, allocations: 0 / 381.4 MB, free: 51.34 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001077/0.3142, allocations: 153.5 kB / 381.6 MB, free: 51.33 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00119/0.3154, allocations: 329.7 kB / 381.9 MB, free: 51.3 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.118e-05/0.3155, allocations: 27.05 kB / 381.9 MB, free: 51.3 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009501/0.325, allocations: 8.109 MB / 390 MB, free: 44.46 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.83e-06/0.325, allocations: 3.766 kB / 390 MB, free: 44.46 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005323/0.3304, allocations: 1.837 MB / 391.9 MB, free: 43.58 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004752/0.3309, allocations: 224 kB / 392.1 MB, free: 43.44 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001597/0.331, allocations: 31.09 kB / 392.1 MB, free: 43.42 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009297/0.332, allocations: 39.25 kB / 392.2 MB, free: 43.4 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002935/0.3323, allocations: 101.5 kB / 392.3 MB, free: 43.39 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001089/0.3324, allocations: 34.64 kB / 392.3 MB, free: 43.38 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000493/0.3329, allocations: 279.3 kB / 392.6 MB, free: 43.23 MB / 318.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.333, allocations: 0 / 392.6 MB, free: 43.23 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00192/0.3349, allocations: 322.8 kB / 392.9 MB, free: 43.18 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) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 82 * 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.0003638/0.3353, allocations: 162.2 kB / 393 MB, free: 43.07 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004332/0.3396, allocations: 1.658 MB / 394.7 MB, free: 42.16 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.221e-06/0.3396, allocations: 5.094 kB / 394.7 MB, free: 42.16 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002579/0.3422, allocations: 1.143 MB / 395.9 MB, free: 41.44 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008873/0.3431, allocations: 79.53 kB / 395.9 MB, free: 41.39 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005211/0.3484, allocations: 1.972 MB / 397.9 MB, free: 40.41 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006856/0.3491, allocations: 1.03 MB / 398.9 MB, free: 39.7 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0007431/0.3498, allocations: 108.4 kB / 399 MB, free: 39.66 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002596/0.3501, allocations: 58.52 kB / 399.1 MB, free: 39.65 MB / 318.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3501, allocations: 0 / 399.1 MB, free: 39.65 MB / 318.1 MB Notification: Performance of Templates: time 0.01754/0.3677, allocations: 11.01 MB / 410.1 MB, free: 33.23 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/LinearInductor/LinearInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches