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.001071/0.001071, allocations: 97.33 kB / 16.5 MB, free: 6.641 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.001064/0.001064, allocations: 194.3 kB / 17.42 MB, free: 6.066 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.301/1.301, allocations: 222.9 MB / 241.1 MB, free: 15.33 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 47.08 kB / 300 MB, free: 6.293 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1046, allocations: 49.44 MB / 349.4 MB, free: 4.848 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.008746/0.1134, allocations: 6.432 MB / 355.8 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004868/0.1183, allocations: 2.515 MB / 358.3 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000879/0.1192, allocations: 20 kB / 358.4 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002971/0.1222, allocations: 1.194 MB / 359.6 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001845/0.1241, allocations: 0.6103 MB / 360.2 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002203/0.1263, allocations: 1.07 MB / 361.2 MB, free: 8.953 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0015/0.1278, allocations: 1.008 MB / 362.2 MB, free: 7.938 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001446/0.1292, allocations: 0.7955 MB / 363 MB, free: 7.121 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006281/0.1299, allocations: 414.3 kB / 363.4 MB, free: 6.715 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007535/0.1306, allocations: 0.5173 MB / 364 MB, free: 6.195 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001985/0.1309, allocations: 72 kB / 364 MB, free: 6.125 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008551/0.1317, allocations: 375.6 kB / 364.4 MB, free: 5.758 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002195/0.1319, allocations: 203.2 kB / 364.6 MB, free: 5.559 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005989/0.1326, allocations: 0.4896 MB / 365.1 MB, free: 5.066 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001631/0.1342, allocations: 1.464 MB / 366.6 MB, free: 3.598 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1342, allocations: 4 kB / 366.6 MB, free: 3.594 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1342, allocations: 0 / 366.6 MB, free: 3.594 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.625e-05/0.1343, allocations: 0 / 366.6 MB, free: 3.594 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.004652/0.1389, allocations: 1.632 MB / 368.2 MB, free: 1.906 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.139, allocations: 12.02 kB / 368.2 MB, free: 1.895 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003202/0.1422, allocations: 471.3 kB / 368.7 MB, free: 1.434 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007249/0.1429, allocations: 494.2 kB / 369.1 MB, free: 0.9141 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.804e-05/0.143, allocations: 86.22 kB / 369.2 MB, free: 0.8281 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000169/0.1432, allocations: 115.9 kB / 369.3 MB, free: 0.7148 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1692/0.3123, allocations: 0.9651 MB / 370.3 MB, free: 24.64 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.8e-05/0.3124, allocations: 2.406 kB / 370.3 MB, free: 24.64 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/0.3125, allocations: 44.91 kB / 370.4 MB, free: 24.64 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.373e-05/0.3126, allocations: 27.58 kB / 370.4 MB, free: 24.64 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002438/0.315, allocations: 0.9581 MB / 371.3 MB, free: 24.62 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005928/0.321, allocations: 3.706 MB / 375 MB, free: 22.5 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001674/0.3227, allocations: 1.543 MB / 376.6 MB, free: 21.31 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007529/0.3234, allocations: 438.9 kB / 377 MB, free: 21.16 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.99e-05/0.3235, allocations: 99.92 kB / 377.1 MB, free: 21.06 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008609/0.3244, allocations: 474.9 kB / 377.6 MB, free: 20.84 MB / 302.1 MB Notification: Performance of pre-optimization done (n=96): time 2.736e-06/0.3244, allocations: 0 / 377.6 MB, free: 20.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=125): time 0.009097/0.3335, allocations: 3.969 MB / 381.5 MB, free: 18.93 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.145e-05/0.3336, allocations: 151.1 kB / 381.7 MB, free: 18.77 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004572/0.3341, allocations: 392.9 kB / 382.1 MB, free: 18.57 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.542e-05/0.3341, allocations: 51.61 kB / 382.1 MB, free: 18.52 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002558/0.3344, allocations: 420.2 kB / 382.5 MB, free: 18.19 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002425/0.3347, allocations: 420.8 kB / 382.9 MB, free: 17.87 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002929/0.335, allocations: 203.5 kB / 383.1 MB, free: 17.77 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.3351, allocations: 374.9 kB / 383.5 MB, free: 17.43 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007037/0.3358, allocations: 360.2 kB / 383.9 MB, free: 17.29 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008402/0.3366, allocations: 0.5456 MB / 384.4 MB, free: 16.95 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001459/0.3381, allocations: 0.9393 MB / 385.3 MB, free: 16.4 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.3381, allocations: 1.25 kB / 385.3 MB, free: 16.4 MB / 302.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002508/0.3406, allocations: 1.394 MB / 386.7 MB, free: 15.78 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.3407, allocations: 7.406 kB / 386.8 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/0.3407, allocations: 8.5 kB / 386.8 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008996/0.3416, allocations: 350.5 kB / 387.1 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008417/0.3424, allocations: 200.7 kB / 387.3 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005836/0.3483, allocations: 7.735 MB / 395 MB, free: 8.996 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007003/0.349, allocations: 44.41 kB / 395.1 MB, free: 8.977 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.33e-05/0.3491, allocations: 48.16 kB / 395.1 MB, free: 8.965 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.0004113/0.3495, allocations: 263.9 kB / 395.4 MB, free: 8.75 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.972e-05/0.3496, allocations: 70.78 kB / 395.4 MB, free: 8.715 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002409/0.352, allocations: 1.314 MB / 396.8 MB, free: 8.082 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-05/0.352, allocations: 13.22 kB / 396.8 MB, free: 8.082 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.298e-06/0.3521, allocations: 6.656 kB / 396.8 MB, free: 8.082 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/0.3521, allocations: 5.266 kB / 396.8 MB, free: 8.078 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003545/0.3556, allocations: 2.528 MB / 399.3 MB, free: 6.406 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.654e-06/0.3556, allocations: 2.188 kB / 399.3 MB, free: 6.406 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006407/0.3563, allocations: 158.1 kB / 399.5 MB, free: 6.371 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006943/0.357, allocations: 320.8 kB / 399.8 MB, free: 6.207 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.648e-05/0.3571, allocations: 31.7 kB / 399.8 MB, free: 6.184 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005258/0.3623, allocations: 7.443 MB / 407.3 MB, free: 14.98 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/0.3624, allocations: 4 kB / 407.3 MB, free: 14.98 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003286/0.3657, allocations: 1.829 MB / 409.1 MB, free: 13.11 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003449/0.366, allocations: 220.2 kB / 409.3 MB, free: 12.87 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/0.3661, allocations: 24.69 kB / 409.3 MB, free: 12.85 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004956/0.3666, allocations: 39.98 kB / 409.4 MB, free: 12.81 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002176/0.3669, allocations: 100.8 kB / 409.5 MB, free: 12.71 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.058e-05/0.3669, allocations: 35.94 kB / 409.5 MB, free: 12.68 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003166/0.3673, allocations: 271.2 kB / 409.8 MB, free: 12.41 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3673, allocations: 0 / 409.8 MB, free: 12.41 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001309/0.3686, allocations: 311 kB / 410.1 MB, free: 12.11 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.0003192/0.3689, allocations: 177.6 kB / 410.2 MB, free: 11.93 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002605/0.3715, allocations: 1.604 MB / 411.8 MB, free: 10.28 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.3715, allocations: 5.062 kB / 411.9 MB, free: 10.27 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001567/0.3731, allocations: 1.139 MB / 413 MB, free: 9.082 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005918/0.3737, allocations: 85.42 kB / 413.1 MB, free: 9 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003824/0.3775, allocations: 2.417 MB / 415.5 MB, free: 6.551 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006159/0.3782, allocations: 1.024 MB / 416.5 MB, free: 5.5 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005082/0.3787, allocations: 102.2 kB / 416.6 MB, free: 5.398 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001751/0.3789, allocations: 55.42 kB / 416.7 MB, free: 5.344 MB / 318.1 MB Notification: Performance of SimCode: time 8.41e-07/0.3789, allocations: 0 / 416.7 MB, free: 5.344 MB / 318.1 MB Notification: Performance of Templates: time 0.01951/0.3984, allocations: 10.51 MB / 427.2 MB, free: 10.86 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/LinearInductor/LinearInductor.csv","/var/lib/jenkins/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