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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000981/0.000981, allocations: 85.05 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008679/0.0008679, allocations: 145.7 kB / 24.89 MB, free: 8.742 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8379/0.8379, allocations: 173.4 MB / 201.5 MB, free: 8.277 MB / 186.7 MB " [Timeout remaining time 179] 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=5011,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=5011,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 268.5 MB, free: 9.809 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.216e-05/2.355e-05, allocations: 5.406 kB / 268.5 MB, free: 9.805 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.00549/0.005514, allocations: 6.234 MB / 274.7 MB, free: 3.551 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003978/0.009492, allocations: 2.548 MB / 277.3 MB, free: 1.008 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004313/0.009923, allocations: 16 kB / 277.3 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001623/0.01155, allocations: 1.359 MB / 278.6 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001165/0.01271, allocations: 0.687 MB / 279.3 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001307/0.01402, allocations: 1.062 MB / 280.4 MB, free: 13.87 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009441/0.01496, allocations: 1.108 MB / 281.5 MB, free: 12.76 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007939/0.01576, allocations: 0.8285 MB / 282.3 MB, free: 11.9 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000518/0.01627, allocations: 0.647 MB / 283 MB, free: 11.25 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004121/0.01669, allocations: 430.8 kB / 283.4 MB, free: 10.83 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.881e-05/0.01678, allocations: 96 kB / 283.5 MB, free: 10.73 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006453/0.01742, allocations: 387.4 kB / 283.9 MB, free: 10.36 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001378/0.01756, allocations: 243.1 kB / 284.1 MB, free: 10.12 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002301/0.01779, allocations: 363 kB / 284.4 MB, free: 9.762 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009936/0.01878, allocations: 1.07 MB / 285.5 MB, free: 8.688 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.01879, allocations: 0 / 285.5 MB, free: 8.688 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.01879, allocations: 0 / 285.5 MB, free: 8.688 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.254e-06/0.01879, allocations: 0 / 285.5 MB, free: 8.688 MB / 266.7 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.002227/0.02102, allocations: 1.619 MB / 287.1 MB, free: 7.039 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.02106, allocations: 8.031 kB / 287.1 MB, free: 7.031 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00162/0.02268, allocations: 0.6835 MB / 287.8 MB, free: 6.348 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004172/0.02309, allocations: 303.7 kB / 288.1 MB, free: 6.027 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.211e-05/0.02314, allocations: 90.59 kB / 288.2 MB, free: 5.938 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000104/0.02325, allocations: 116.1 kB / 288.3 MB, free: 5.824 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007118/0.02396, allocations: 0.7011 MB / 289 MB, free: 5.078 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.28e-05/0.02398, allocations: 0 / 289 MB, free: 5.078 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.339e-05/0.02404, allocations: 48 kB / 289.1 MB, free: 5.031 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.486e-05/0.02405, allocations: 28 kB / 289.1 MB, free: 5.004 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004522/0.0245, allocations: 372.1 kB / 289.5 MB, free: 4.621 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002856/0.02736, allocations: 2.3 MB / 291.8 MB, free: 2.195 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006729/0.02803, allocations: 0.5942 MB / 292.4 MB, free: 1.59 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002445/0.02828, allocations: 220.4 kB / 292.6 MB, free: 1.371 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.912e-05/0.02836, allocations: 32.97 kB / 292.6 MB, free: 1.34 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003351/0.02869, allocations: 405.6 kB / 293 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of pre-optimization done (n=96): time 2.725e-06/0.02869, allocations: 0 / 293 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of matching and sorting (n=103): time 0.003196/0.03189, allocations: 2.153 MB / 295.2 MB, free: 14.71 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.017e-05/0.03195, allocations: 149.5 kB / 295.3 MB, free: 14.54 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002224/0.03217, allocations: 343.1 kB / 295.6 MB, free: 14.19 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.902e-05/0.03221, allocations: 45.7 kB / 295.7 MB, free: 14.14 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001727/0.03238, allocations: 409 kB / 296.1 MB, free: 13.73 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001678/0.03255, allocations: 360.8 kB / 296.4 MB, free: 13.38 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001618/0.03271, allocations: 186.8 kB / 296.6 MB, free: 13.19 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.03282, allocations: 378.6 kB / 297 MB, free: 12.81 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/0.03295, allocations: 106.6 kB / 297.1 MB, free: 12.71 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002372/0.03319, allocations: 359.4 kB / 297.4 MB, free: 12.28 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003957/0.03359, allocations: 495.1 kB / 297.9 MB, free: 11.74 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.03359, allocations: 0 / 297.9 MB, free: 11.74 MB / 282.7 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.0006601/0.03425, allocations: 0.638 MB / 298.6 MB, free: 11.09 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.03427, allocations: 8 kB / 298.6 MB, free: 11.08 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.03428, allocations: 4 kB / 298.6 MB, free: 11.08 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004271/0.0347, allocations: 213.5 kB / 298.8 MB, free: 10.86 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004017/0.0351, allocations: 191.7 kB / 299 MB, free: 10.68 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002475/0.03758, allocations: 4.496 MB / 303.5 MB, free: 5.934 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003182/0.0379, allocations: 39.98 kB / 303.5 MB, free: 5.895 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.342e-05/0.03793, allocations: 36.08 kB / 303.5 MB, free: 5.859 MB / 282.7 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 (111): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (1,2,100.0%), (1,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002087/0.03814, allocations: 172.4 kB / 303.7 MB, free: 5.68 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.285e-05/0.03821, allocations: 72.06 kB / 303.8 MB, free: 5.609 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006793/0.03889, allocations: 0.5908 MB / 304.4 MB, free: 5 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/0.0389, allocations: 23.94 kB / 304.4 MB, free: 4.977 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.0389, allocations: 4 kB / 304.4 MB, free: 4.973 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.621e-05/0.03892, allocations: 3.984 kB / 304.4 MB, free: 4.969 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001287/0.04021, allocations: 1.073 MB / 305.5 MB, free: 3.848 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.636e-06/0.04021, allocations: 0 / 305.5 MB, free: 3.848 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003065/0.04052, allocations: 139.8 kB / 305.6 MB, free: 3.711 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003885/0.04091, allocations: 216.7 kB / 305.8 MB, free: 3.492 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.461e-05/0.04094, allocations: 20 kB / 305.8 MB, free: 3.473 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002304/0.04325, allocations: 4.476 MB / 310.3 MB, free: 14.74 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.04325, allocations: 4 kB / 310.3 MB, free: 14.74 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008227/0.04407, allocations: 0.81 MB / 311.1 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001437/0.04421, allocations: 79.58 kB / 311.2 MB, free: 13.81 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.745e-05/0.04426, allocations: 20 kB / 311.2 MB, free: 13.79 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001934/0.04446, allocations: 31.98 kB / 311.3 MB, free: 13.76 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/0.04457, allocations: 76.8 kB / 311.3 MB, free: 13.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-05/0.0446, allocations: 23.98 kB / 311.4 MB, free: 13.66 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001088/0.04471, allocations: 128.7 kB / 311.5 MB, free: 13.53 MB / 298.7 MB Notification: Performance of sort global known variables: time 3e-08/0.04471, allocations: 0 / 311.5 MB, free: 13.53 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000701/0.04541, allocations: 268 kB / 311.7 MB, free: 13.27 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (80): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,4,100.0%), (2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000222/0.04563, allocations: 148.2 kB / 311.9 MB, free: 13.11 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008833/0.04651, allocations: 0.9194 MB / 312.8 MB, free: 12.16 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.104e-05/0.04652, allocations: 8.875 kB / 312.8 MB, free: 12.15 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005241/0.04705, allocations: 0.721 MB / 313.5 MB, free: 11.39 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002804/0.04733, allocations: 69.42 kB / 313.6 MB, free: 11.32 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002037/0.04937, allocations: 1.571 MB / 315.2 MB, free: 9.695 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001383/0.0495, allocations: 186.3 kB / 315.4 MB, free: 9.492 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002417/0.04975, allocations: 101.2 kB / 315.5 MB, free: 9.395 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001906/0.04994, allocations: 135.4 kB / 315.6 MB, free: 9.262 MB / 298.7 MB Notification: Performance of SimCode: time 1.012e-06/0.04994, allocations: 0 / 315.6 MB, free: 9.262 MB / 298.7 MB Notification: Performance of Templates: time 0.01302/0.06296, allocations: 9.405 MB / 325 MB, free: 15.93 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.676907017827034]