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.00164/0.00164, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.002109/0.002109, allocations: 215 kB / 24.47 MB, free: 3.777 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.374/1.374, allocations: 207.7 MB / 235.3 MB, free: 9.801 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.001775/0.001775, allocations: 51.92 kB / 347.2 MB, free: 9.891 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2282/0.23, allocations: 49.16 MB / 396.3 MB, free: 8.871 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor): time 0.003345/0.2334, allocations: 2.51 MB / 398.8 MB, free: 7.207 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001192/0.2345, allocations: 0.857 MB / 399.7 MB, free: 6.617 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001307/0.2347, allocations: 4.625 kB / 399.7 MB, free: 6.617 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002058/0.2349, allocations: 55.12 kB / 399.8 MB, free: 6.586 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002436/0.2351, allocations: 104.8 kB / 399.9 MB, free: 6.516 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002313/0.2354, allocations: 101.5 kB / 400 MB, free: 6.457 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003119/0.2357, allocations: 354 kB / 400.3 MB, free: 6.285 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001519/0.2358, allocations: 77.47 kB / 400.4 MB, free: 6.246 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001652/0.236, allocations: 145.3 kB / 400.5 MB, free: 6.176 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001812/0.2362, allocations: 131 kB / 400.7 MB, free: 6.117 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.867e-05/0.2362, allocations: 29.41 kB / 400.7 MB, free: 6.117 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.414e-05/0.2363, allocations: 30.47 kB / 400.7 MB, free: 6.117 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.886e-05/0.2363, allocations: 67.48 kB / 400.8 MB, free: 6.07 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001075/0.2364, allocations: 137.9 kB / 400.9 MB, free: 5.992 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003562/0.2368, allocations: 356.9 kB / 401.3 MB, free: 5.855 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2368, allocations: 5.125 kB / 401.3 MB, free: 5.852 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.2368, allocations: 3.938 kB / 401.3 MB, free: 5.848 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.2368, allocations: 0 / 401.3 MB, free: 5.848 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.0008331/0.2376, allocations: 0.5327 MB / 401.8 MB, free: 5.434 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.2377, allocations: 13.55 kB / 401.8 MB, free: 5.43 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.37e-05/0.2377, allocations: 62.44 kB / 401.9 MB, free: 5.375 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.825e-05/0.2378, allocations: 37.17 kB / 401.9 MB, free: 5.355 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002808/0.2381, allocations: 204 kB / 402.1 MB, free: 5.172 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.2381, allocations: 23.44 kB / 402.1 MB, free: 5.16 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.246e-05/0.2381, allocations: 29.61 kB / 402.2 MB, free: 5.148 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004436/0.2386, allocations: 278.9 kB / 402.4 MB, free: 5.004 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.2386, allocations: 4 kB / 402.4 MB, free: 5 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.623e-05/0.2386, allocations: 11.25 kB / 402.5 MB, free: 4.992 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.2386, allocations: 6.438 kB / 402.5 MB, free: 4.992 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000432/0.239, allocations: 208.3 kB / 402.7 MB, free: 4.922 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001396/0.2404, allocations: 0.861 MB / 403.5 MB, free: 4.305 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004065/0.2408, allocations: 187.9 kB / 403.7 MB, free: 4.227 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000232/0.2411, allocations: 102 kB / 403.8 MB, free: 4.184 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.484e-05/0.2411, allocations: 6.25 kB / 403.8 MB, free: 4.184 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.984e-05/0.2411, allocations: 35.88 kB / 403.9 MB, free: 4.141 MB / 318.1 MB Notification: Performance of pre-optimization done (n=23): time 1.483e-06/0.2411, allocations: 0 / 403.9 MB, free: 4.141 MB / 318.1 MB Notification: Performance of matching and sorting (n=35): time 0.004821/0.2459, allocations: 1.395 MB / 405.2 MB, free: 3.551 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.716e-05/0.246, allocations: 55.31 kB / 405.3 MB, free: 3.488 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002136/0.2462, allocations: 236.5 kB / 405.5 MB, free: 3.336 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.196e-05/0.2462, allocations: 30.98 kB / 405.6 MB, free: 3.301 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.593e-05/0.2463, allocations: 179.9 kB / 405.7 MB, free: 3.148 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.926e-05/0.2464, allocations: 127.8 kB / 405.9 MB, free: 3.047 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.2465, allocations: 69.45 kB / 405.9 MB, free: 3 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.958e-05/0.2465, allocations: 336.5 kB / 406.3 MB, free: 2.676 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002332/0.2467, allocations: 110.4 kB / 406.4 MB, free: 2.637 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002463/0.247, allocations: 153.4 kB / 406.5 MB, free: 2.555 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004731/0.2475, allocations: 283 kB / 406.8 MB, free: 2.398 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.2475, allocations: 0 / 406.8 MB, free: 2.398 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001447/0.2489, allocations: 0.5273 MB / 407.3 MB, free: 2.176 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.2489, allocations: 5.5 kB / 407.3 MB, free: 2.176 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.2489, allocations: 1.375 kB / 407.3 MB, free: 2.176 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001189/0.2501, allocations: 245.1 kB / 407.6 MB, free: 2.113 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002659/0.2504, allocations: 61 kB / 407.6 MB, free: 2.105 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00448/0.2549, allocations: 3.896 MB / 411.5 MB, free: 14.74 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002935/0.2552, allocations: 10.17 kB / 411.5 MB, free: 14.74 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.911e-05/0.2552, allocations: 14.02 kB / 411.5 MB, free: 14.73 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.0002106/0.2554, allocations: 156.9 kB / 411.7 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.101e-05/0.2555, allocations: 24.5 kB / 411.7 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001001/0.2556, allocations: 39.75 kB / 411.8 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.2556, allocations: 4 kB / 411.8 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.277e-05/0.2556, allocations: 5.281 kB / 411.8 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.2556, allocations: 7.438 kB / 411.8 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002249/0.2578, allocations: 0.9062 MB / 412.7 MB, free: 13.99 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.2578, allocations: 4.062 kB / 412.7 MB, free: 13.99 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002204/0.2581, allocations: 46.77 kB / 412.7 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001211/0.2593, allocations: 235.7 kB / 413 MB, free: 13.93 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.747e-05/0.2593, allocations: 7.344 kB / 413 MB, free: 13.92 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004979/0.2643, allocations: 3.887 MB / 416.9 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.2643, allocations: 1.656 kB / 416.9 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001835/0.2661, allocations: 0.7293 MB / 417.6 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.414e-05/0.2662, allocations: 27.31 kB / 417.6 MB, free: 10.01 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.086e-05/0.2662, allocations: 11.34 kB / 417.6 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002288/0.2664, allocations: 14.3 kB / 417.6 MB, free: 9.996 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.067e-05/0.2665, allocations: 29.62 kB / 417.7 MB, free: 9.977 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-05/0.2666, allocations: 15.72 kB / 417.7 MB, free: 9.969 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001764/0.2667, allocations: 160.6 kB / 417.8 MB, free: 9.855 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2667, allocations: 0 / 417.8 MB, free: 9.855 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006365/0.2674, allocations: 100.2 kB / 417.9 MB, free: 9.844 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.002209/0.2696, allocations: 1.271 MB / 419.2 MB, free: 8.832 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001039/0.2706, allocations: 0.55 MB / 419.8 MB, free: 8.434 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2706, allocations: 4.062 kB / 419.8 MB, free: 8.43 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000638/0.2713, allocations: 415.8 kB / 420.2 MB, free: 8.098 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000341/0.2716, allocations: 27.3 kB / 420.2 MB, free: 8.078 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006093/0.2777, allocations: 3.341 MB / 423.5 MB, free: 5.633 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001757/0.2779, allocations: 170.5 kB / 423.7 MB, free: 5.516 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.759e-05/0.278, allocations: 19.91 kB / 423.7 MB, free: 5.508 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001399/0.2781, allocations: 97.03 kB / 423.8 MB, free: 5.422 MB / 334.1 MB Notification: Performance of SimCode: time 8.82e-07/0.2781, allocations: 0 / 423.8 MB, free: 5.422 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06117/0.3393, allocations: 9.249 MB / 433.1 MB, free: 13.21 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.16/13.5, allocations: 4 kB / 433.1 MB, free: 13.21 MB / 350.1 MB " [Timeout remaining time 646] (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: 16.11761950328946]