Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001554/0.001554, allocations: 117.3 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001786/0.001786, allocations: 218.6 kB / 21.47 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.58/1.58, allocations: 230.2 MB / 254.5 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_LinearInductor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_LinearInductor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 63.89 kB / 373.3 MB, free: 10.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1267, allocations: 53.33 MB / 426.7 MB, free: 5.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.2363/0.363, allocations: 6.528 MB / 433.2 MB, free: 7.992 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003443/0.3665, allocations: 2.641 MB / 435.8 MB, free: 7.785 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003261/0.3668, allocations: 31.53 kB / 435.9 MB, free: 7.773 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002368/0.3692, allocations: 1.268 MB / 437.1 MB, free: 7.176 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001153/0.3703, allocations: 0.5425 MB / 437.7 MB, free: 6.879 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002031/0.3723, allocations: 1.264 MB / 438.9 MB, free: 6.156 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001154/0.3735, allocations: 1.072 MB / 440 MB, free: 5.617 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009487/0.3744, allocations: 0.7029 MB / 440.7 MB, free: 5.191 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004865/0.3749, allocations: 447.1 kB / 441.2 MB, free: 4.973 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005765/0.3755, allocations: 0.5469 MB / 441.7 MB, free: 4.688 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001373/0.3756, allocations: 96.72 kB / 441.8 MB, free: 4.688 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00082/0.3765, allocations: 421.5 kB / 442.2 MB, free: 4.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001585/0.3766, allocations: 229.2 kB / 442.4 MB, free: 4.414 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003888/0.377, allocations: 0.5233 MB / 443 MB, free: 4.078 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001742/0.3788, allocations: 1.529 MB / 444.5 MB, free: 3.426 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.3788, allocations: 5.094 kB / 444.5 MB, free: 3.422 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.3788, allocations: 0.7031 kB / 444.5 MB, free: 3.422 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.702e-05/0.3788, allocations: 0 / 444.5 MB, free: 3.422 MB / 350.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.003873/0.3827, allocations: 1.672 MB / 446.2 MB, free: 2.441 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.3827, allocations: 14.12 kB / 446.2 MB, free: 2.438 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002061/0.3829, allocations: 169.5 kB / 446.3 MB, free: 2.324 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00307/0.386, allocations: 475.7 kB / 446.8 MB, free: 2.215 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006173/0.3866, allocations: 0.5016 MB / 447.3 MB, free: 1.809 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.553e-05/0.3867, allocations: 84.91 kB / 447.4 MB, free: 1.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001456/0.3868, allocations: 112.6 kB / 447.5 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001645/0.3884, allocations: 0.9792 MB / 448.5 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.565e-05/0.3885, allocations: 2.766 kB / 448.5 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.755e-05/0.3886, allocations: 45.7 kB / 448.5 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.781e-05/0.3886, allocations: 28.25 kB / 448.6 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001767/0.3904, allocations: 0.9615 MB / 449.5 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006562/0.3969, allocations: 3.768 MB / 453.3 MB, free: 14.53 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002308/0.3992, allocations: 1.487 MB / 454.8 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008207/0.4001, allocations: 393.7 kB / 455.2 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002201/0.4003, allocations: 184.7 kB / 455.3 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009774/0.4012, allocations: 473.8 kB / 455.8 MB, free: 12.81 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 2.906e-06/0.4013, allocations: 0 / 455.8 MB, free: 12.81 MB / 366.1 MB Notification: Performance of matching and sorting (n=125): time 0.009066/0.4103, allocations: 3.999 MB / 459.8 MB, free: 10.66 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.989e-05/0.4104, allocations: 143 kB / 459.9 MB, free: 10.5 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004462/0.4109, allocations: 410.6 kB / 460.3 MB, free: 10.24 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.934e-05/0.4109, allocations: 51.02 kB / 460.4 MB, free: 10.19 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003078/0.4112, allocations: 437.2 kB / 460.8 MB, free: 9.805 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003402/0.4116, allocations: 450.6 kB / 461.3 MB, free: 9.41 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003522/0.4119, allocations: 204.3 kB / 461.5 MB, free: 9.289 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002058/0.4121, allocations: 377.8 kB / 461.8 MB, free: 8.926 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007885/0.4129, allocations: 354.9 kB / 462.2 MB, free: 8.754 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008668/0.4138, allocations: 0.5392 MB / 462.7 MB, free: 8.367 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001589/0.4154, allocations: 0.9406 MB / 463.6 MB, free: 7.781 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.4154, allocations: 1.031 kB / 463.7 MB, free: 7.781 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.00267/0.4181, allocations: 1.378 MB / 465 MB, free: 7.055 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.4181, allocations: 12.5 kB / 465 MB, free: 7.051 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.4181, allocations: 8.094 kB / 465 MB, free: 7.047 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008863/0.419, allocations: 344.7 kB / 465.4 MB, free: 6.875 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008394/0.4198, allocations: 211.4 kB / 465.6 MB, free: 6.824 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008819/0.4286, allocations: 8.493 MB / 474.1 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007003/0.4293, allocations: 42.33 kB / 474.1 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.921e-05/0.4294, allocations: 52.52 kB / 474.2 MB, free: 15.07 MB / 382.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.0004689/0.4299, allocations: 259.8 kB / 474.4 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/0.43, allocations: 76.09 kB / 474.5 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002491/0.4325, allocations: 1.282 MB / 475.8 MB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.816e-06/0.4325, allocations: 13.34 kB / 475.8 MB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.4325, allocations: 7.094 kB / 475.8 MB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.364e-05/0.4325, allocations: 7.969 kB / 475.8 MB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004234/0.4367, allocations: 2.526 MB / 478.3 MB, free: 12.33 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.674e-06/0.4368, allocations: 3.938 kB / 478.3 MB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007133/0.4375, allocations: 156 kB / 478.5 MB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008029/0.4383, allocations: 325.5 kB / 478.8 MB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.848e-05/0.4383, allocations: 33.67 kB / 478.8 MB, free: 11.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008728/0.4471, allocations: 8.113 MB / 487 MB, free: 3.152 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.4471, allocations: 4 kB / 487 MB, free: 3.148 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00327/0.4503, allocations: 1.813 MB / 488.8 MB, free: 1.289 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003514/0.4507, allocations: 220.6 kB / 489 MB, free: 1.055 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/0.4508, allocations: 36 kB / 489 MB, free: 1.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004848/0.4513, allocations: 43.91 kB / 489.1 MB, free: 0.9766 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001645/0.4514, allocations: 96.75 kB / 489.2 MB, free: 0.8828 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.377e-05/0.4515, allocations: 35.98 kB / 489.2 MB, free: 0.8477 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000326/0.4518, allocations: 275.2 kB / 489.5 MB, free: 0.5781 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4518, allocations: 0 / 489.5 MB, free: 0.5781 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001262/0.4531, allocations: 324 kB / 489.8 MB, free: 268 kB / 382.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.00377/0.4569, allocations: 2.423 MB / 492.2 MB, free: 13.78 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002855/0.4597, allocations: 1.554 MB / 493.8 MB, free: 12.18 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.4597, allocations: 4 kB / 493.8 MB, free: 12.17 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001707/0.4614, allocations: 1.103 MB / 494.9 MB, free: 11.02 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000561/0.462, allocations: 79.05 kB / 494.9 MB, free: 10.95 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01209/0.4741, allocations: 7.329 MB / 0.4905 GB, free: 3.328 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007223/0.4748, allocations: 1.024 MB / 0.4915 GB, free: 2.273 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003852/0.4752, allocations: 102.2 kB / 0.4916 GB, free: 2.172 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004489/0.4756, allocations: 356.3 kB / 0.4919 GB, free: 1.828 MB / 398.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4756, allocations: 0 / 0.4919 GB, free: 1.828 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05857/0.5342, allocations: 18.74 MB / 0.5102 GB, free: 15.24 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.43/17.97, allocations: 13.45 kB / 0.5102 GB, free: 15.24 MB / 430.1 MB " [Timeout remaining time 642] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_LinearInductor_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-07 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_LinearInductor.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/LinearInductor/LinearInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 21.123295473866165]