Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001728/0.001728, allocations: 109.6 kB / 21.18 MB, free: 0.6992 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001917/0.001917, allocations: 216.7 kB / 24.5 MB, free: 4.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.551/1.551, allocations: 207.6 MB / 235.3 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_SaturatedInductor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_SaturatedInductor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002669/0.002669, allocations: 55.92 kB / 347.2 MB, free: 10.06 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3561/0.3588, allocations: 49.17 MB / 396.3 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor): time 0.004024/0.3628, allocations: 2.703 MB / 399 MB, free: 7.113 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00149/0.3643, allocations: 0.9099 MB / 400 MB, free: 6.465 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000149/0.3644, allocations: 4.5 kB / 400 MB, free: 6.465 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002559/0.3647, allocations: 63.42 kB / 400 MB, free: 6.426 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002631/0.3649, allocations: 107.9 kB / 400.1 MB, free: 6.352 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002612/0.3652, allocations: 97.77 kB / 400.2 MB, free: 6.297 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004232/0.3656, allocations: 345.9 kB / 400.6 MB, free: 6.133 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001841/0.3658, allocations: 81.97 kB / 400.6 MB, free: 6.086 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002004/0.366, allocations: 149.4 kB / 400.8 MB, free: 6.012 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002184/0.3662, allocations: 151.7 kB / 400.9 MB, free: 5.934 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.148e-05/0.3663, allocations: 28.88 kB / 401 MB, free: 5.934 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.376e-05/0.3663, allocations: 33.72 kB / 401 MB, free: 5.93 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.718e-05/0.3664, allocations: 71.47 kB / 401.1 MB, free: 5.879 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001301/0.3665, allocations: 158.5 kB / 401.2 MB, free: 5.781 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004461/0.367, allocations: 355.8 kB / 401.6 MB, free: 5.648 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.367, allocations: 1.375 kB / 401.6 MB, free: 5.648 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.367, allocations: 0 / 401.6 MB, free: 5.648 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.675e-06/0.367, allocations: 0 / 401.6 MB, free: 5.648 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.0009571/0.3679, allocations: 0.5364 MB / 402.1 MB, free: 5.23 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.368, allocations: 13.62 kB / 402.1 MB, free: 5.227 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.916e-05/0.368, allocations: 63.2 kB / 402.2 MB, free: 5.172 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.405e-05/0.3681, allocations: 37.17 kB / 402.2 MB, free: 5.152 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002649/0.3684, allocations: 206.6 kB / 402.4 MB, free: 4.965 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.795e-05/0.3684, allocations: 24.06 kB / 402.4 MB, free: 4.953 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.961e-05/0.3685, allocations: 25.34 kB / 402.5 MB, free: 4.945 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00045/0.3689, allocations: 255 kB / 402.7 MB, free: 4.828 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.3689, allocations: 1.188 kB / 402.7 MB, free: 4.828 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.598e-05/0.369, allocations: 10.16 kB / 402.7 MB, free: 4.82 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.369, allocations: 6.594 kB / 402.7 MB, free: 4.82 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004437/0.3694, allocations: 210.2 kB / 402.9 MB, free: 4.75 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001428/0.3708, allocations: 0.9661 MB / 403.9 MB, free: 4.059 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004209/0.3713, allocations: 196.8 kB / 404.1 MB, free: 3.969 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002426/0.3715, allocations: 105.6 kB / 404.2 MB, free: 3.926 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.908e-05/0.3715, allocations: 7.375 kB / 404.2 MB, free: 3.922 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.3716, allocations: 32.22 kB / 404.2 MB, free: 3.883 MB / 318.1 MB Notification: Performance of pre-optimization done (n=23): time 1.503e-06/0.3716, allocations: 0 / 404.2 MB, free: 3.883 MB / 318.1 MB Notification: Performance of matching and sorting (n=35): time 0.005077/0.3766, allocations: 1.392 MB / 405.6 MB, free: 3.297 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/0.3767, allocations: 59.47 kB / 405.7 MB, free: 3.23 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002341/0.3769, allocations: 224.2 kB / 405.9 MB, free: 3.09 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.533e-05/0.3769, allocations: 30.8 kB / 405.9 MB, free: 3.055 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.74e-05/0.377, allocations: 188.1 kB / 406.1 MB, free: 2.895 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.543e-05/0.3771, allocations: 127.8 kB / 406.2 MB, free: 2.793 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.905e-05/0.3772, allocations: 62.98 kB / 406.3 MB, free: 2.75 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.879e-05/0.3773, allocations: 339.4 kB / 406.6 MB, free: 2.426 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000225/0.3775, allocations: 112.4 kB / 406.7 MB, free: 2.383 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002412/0.3777, allocations: 152.7 kB / 406.9 MB, free: 2.301 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004385/0.3782, allocations: 281.8 kB / 407.2 MB, free: 2.145 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.3782, allocations: 5.969 kB / 407.2 MB, free: 2.141 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001461/0.3796, allocations: 0.5253 MB / 407.7 MB, free: 1.918 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.3796, allocations: 9.438 kB / 407.7 MB, free: 1.914 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.3796, allocations: 2.125 kB / 407.7 MB, free: 1.914 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00124/0.3809, allocations: 244.9 kB / 408 MB, free: 1.852 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002957/0.3812, allocations: 59.97 kB / 408 MB, free: 1.844 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005029/0.3862, allocations: 3.935 MB / 411.9 MB, free: 14.46 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003164/0.3865, allocations: 13.64 kB / 412 MB, free: 14.45 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.704e-05/0.3866, allocations: 10.55 kB / 412 MB, free: 14.45 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002348/0.3868, allocations: 152.3 kB / 412.1 MB, free: 14.31 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.406e-05/0.3869, allocations: 27.78 kB / 412.1 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001022/0.387, allocations: 40.17 kB / 412.2 MB, free: 14.26 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.387, allocations: 6.938 kB / 412.2 MB, free: 14.26 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.335e-05/0.387, allocations: 5.312 kB / 412.2 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.387, allocations: 3.156 kB / 412.2 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002383/0.3894, allocations: 0.9456 MB / 413.1 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.3894, allocations: 3.938 kB / 413.1 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002201/0.3896, allocations: 43.02 kB / 413.2 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001252/0.3908, allocations: 243.8 kB / 413.4 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.862e-05/0.3909, allocations: 7.516 kB / 413.4 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005103/0.396, allocations: 3.924 MB / 417.4 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.396, allocations: 1.375 kB / 417.4 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001902/0.3979, allocations: 0.7169 MB / 418.1 MB, free: 9.641 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.032e-05/0.3979, allocations: 30.92 kB / 418.1 MB, free: 9.617 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.899e-05/0.398, allocations: 15.56 kB / 418.1 MB, free: 9.605 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002317/0.3982, allocations: 9.375 kB / 418.1 MB, free: 9.602 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.293e-05/0.3983, allocations: 31.28 kB / 418.2 MB, free: 9.582 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.78e-05/0.3983, allocations: 18.42 kB / 418.2 MB, free: 9.57 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001731/0.3985, allocations: 160.1 kB / 418.3 MB, free: 9.457 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3985, allocations: 0 / 418.3 MB, free: 9.457 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006362/0.3991, allocations: 99.31 kB / 418.4 MB, free: 9.445 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (coil.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002227/0.4014, allocations: 1.273 MB / 419.7 MB, free: 8.43 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00111/0.4025, allocations: 0.5494 MB / 420.3 MB, free: 8.031 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.4025, allocations: 0 / 420.3 MB, free: 8.031 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006372/0.4031, allocations: 415.8 kB / 420.7 MB, free: 7.699 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003684/0.4035, allocations: 32.75 kB / 420.7 MB, free: 7.676 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006544/0.41, allocations: 3.345 MB / 424 MB, free: 5.223 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004752/0.4105, allocations: 0.7754 MB / 424.8 MB, free: 4.484 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.693e-05/0.4106, allocations: 19.91 kB / 424.8 MB, free: 4.477 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001724/0.4108, allocations: 98.41 kB / 424.9 MB, free: 4.391 MB / 334.1 MB Notification: Performance of SimCode: time 9.02e-07/0.4108, allocations: 0 / 424.9 MB, free: 4.391 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05183/0.4626, allocations: 8.761 MB / 433.7 MB, free: 12.82 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.12/14.58, allocations: 0 / 433.7 MB, free: 12.82 MB / 350.1 MB " [Timeout remaining time 645] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_SaturatedInductor_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-07 Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_SaturatedInductor.fmu > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/SaturatedInductor/SaturatedInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.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: 17.217370454920456]