Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.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.001822/0.001822, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002381/0.002381, allocations: 213 kB / 23.73 MB, free: 4.164 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.49/1.49, allocations: 230.5 MB / 257.4 MB, free: 7.793 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.FluxTubes.Examples.BasicExamples.SaturatedInductor,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_SaturatedInductor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_SaturatedInductor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 63.89 kB / 377.7 MB, free: 2.906 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2487/0.2507, allocations: 53.41 MB / 431.1 MB, free: 6.461 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.006675/0.2573, allocations: 2.608 MB / 433.8 MB, free: 3.844 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002555/0.2599, allocations: 0.8995 MB / 434.7 MB, free: 2.938 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002343/0.2601, allocations: 7.938 kB / 434.7 MB, free: 2.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003635/0.2605, allocations: 55.5 kB / 434.7 MB, free: 2.875 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005057/0.261, allocations: 103.2 kB / 434.8 MB, free: 2.773 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005281/0.2615, allocations: 119.7 kB / 434.9 MB, free: 2.656 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006854/0.2622, allocations: 354.7 kB / 435.3 MB, free: 2.309 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002652/0.2625, allocations: 73.97 kB / 435.3 MB, free: 2.234 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003726/0.2628, allocations: 147.4 kB / 435.5 MB, free: 2.09 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003502/0.2632, allocations: 135.2 kB / 435.6 MB, free: 1.957 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.293e-05/0.2633, allocations: 32 kB / 435.7 MB, free: 1.926 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001291/0.2634, allocations: 32 kB / 435.7 MB, free: 1.895 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.2635, allocations: 75.75 kB / 435.8 MB, free: 1.82 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000239/0.2637, allocations: 123.4 kB / 435.9 MB, free: 1.699 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007124/0.2645, allocations: 374.9 kB / 436.2 MB, free: 1.336 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2645, allocations: 0 / 436.2 MB, free: 1.336 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2645, allocations: 0 / 436.2 MB, free: 1.336 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.639e-05/0.2645, allocations: 0 / 436.2 MB, free: 1.336 MB / 334.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.001561/0.266, allocations: 0.5442 MB / 436.8 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.325e-05/0.2661, allocations: 11.98 kB / 436.8 MB, free: 0.75 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001048/0.2662, allocations: 58.73 kB / 436.9 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002753/0.2665, allocations: 48.67 kB / 436.9 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005745/0.267, allocations: 210.9 kB / 437.1 MB, free: 412 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.233e-05/0.2671, allocations: 25.03 kB / 437.1 MB, free: 388 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.413e-05/0.2672, allocations: 28.38 kB / 437.2 MB, free: 360 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000785/0.268, allocations: 283.8 kB / 437.4 MB, free: 64 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.268, allocations: 0 / 437.4 MB, free: 64 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.317e-05/0.268, allocations: 12 kB / 437.5 MB, free: 52 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.277e-05/0.268, allocations: 8 kB / 437.5 MB, free: 44 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007758/0.2688, allocations: 210.5 kB / 437.7 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002401/0.2712, allocations: 0.8627 MB / 438.5 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006748/0.2719, allocations: 186.4 kB / 438.7 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003982/0.2723, allocations: 107.9 kB / 438.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.471e-05/0.2723, allocations: 0 / 438.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.143e-05/0.2723, allocations: 34.56 kB / 438.9 MB, free: 14.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.923e-06/0.2724, allocations: 4 kB / 438.9 MB, free: 14.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.005519/0.2779, allocations: 1.392 MB / 440.2 MB, free: 13.13 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.389e-05/0.2779, allocations: 55.41 kB / 440.3 MB, free: 13.06 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002729/0.2782, allocations: 240.8 kB / 440.5 MB, free: 12.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.266e-05/0.2782, allocations: 29.7 kB / 440.6 MB, free: 12.79 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001447/0.2784, allocations: 184.5 kB / 440.7 MB, free: 12.6 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001151/0.2785, allocations: 130.9 kB / 440.9 MB, free: 12.47 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000118/0.2786, allocations: 66.02 kB / 440.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.2788, allocations: 334.8 kB / 441.3 MB, free: 12.06 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002544/0.279, allocations: 108.7 kB / 441.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002925/0.2793, allocations: 165.4 kB / 441.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005534/0.2799, allocations: 291.6 kB / 441.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.2799, allocations: 7.938 kB / 441.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00211/0.282, allocations: 0.5218 MB / 442.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.282, allocations: 8 kB / 442.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.282, allocations: 7.938 kB / 442.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001238/0.2832, allocations: 241.5 kB / 442.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002722/0.2835, allocations: 59.91 kB / 442.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005322/0.2888, allocations: 3.891 MB / 446.6 MB, free: 6.508 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002722/0.2891, allocations: 8 kB / 446.6 MB, free: 6.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.96e-05/0.2891, allocations: 20.05 kB / 446.6 MB, free: 6.48 MB / 350.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.0002219/0.2894, allocations: 153.7 kB / 446.7 MB, free: 6.32 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.214e-05/0.2894, allocations: 27.81 kB / 446.8 MB, free: 6.293 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.198e-05/0.2895, allocations: 38.95 kB / 446.8 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.2895, allocations: 4 kB / 446.8 MB, free: 6.246 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/0.2895, allocations: 4 kB / 446.8 MB, free: 6.242 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.2895, allocations: 0 / 446.8 MB, free: 6.242 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002287/0.2918, allocations: 0.9144 MB / 447.7 MB, free: 5.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.2918, allocations: 0 / 447.7 MB, free: 5.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000217/0.292, allocations: 39.92 kB / 447.8 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001199/0.2932, allocations: 237.8 kB / 448 MB, free: 4.992 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.529e-05/0.2933, allocations: 12 kB / 448 MB, free: 4.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004967/0.2982, allocations: 3.88 MB / 451.9 MB, free: 0.875 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.64e-06/0.2982, allocations: 4 kB / 451.9 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001909/0.3001, allocations: 0.7248 MB / 452.6 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.144e-05/0.3002, allocations: 23.81 kB / 452.6 MB, free: 96 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.089e-05/0.3003, allocations: 7.938 kB / 452.6 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002331/0.3005, allocations: 15.98 kB / 452.7 MB, free: 72 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.3006, allocations: 27.94 kB / 452.7 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.387e-05/0.3006, allocations: 15.94 kB / 452.7 MB, free: 28 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002111/0.3008, allocations: 172.5 kB / 452.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3008, allocations: 3.938 kB / 452.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006097/0.3014, allocations: 100 kB / 453 MB, free: 15.76 MB / 366.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.002266/0.3037, allocations: 1.277 MB / 454.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001104/0.3048, allocations: 0.5518 MB / 454.8 MB, free: 13.87 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/0.3048, allocations: 4 kB / 454.8 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006329/0.3054, allocations: 413.1 kB / 455.2 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003476/0.3058, allocations: 24.81 kB / 455.2 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006642/0.3124, allocations: 3.359 MB / 458.6 MB, free: 9.918 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002296/0.3127, allocations: 181.6 kB / 458.8 MB, free: 9.719 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001226/0.3128, allocations: 22.3 kB / 458.8 MB, free: 9.695 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001571/0.3129, allocations: 95.39 kB / 458.9 MB, free: 9.602 MB / 366.1 MB Notification: Performance of SimCode: time 1.212e-06/0.3129, allocations: 0 / 458.9 MB, free: 9.602 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04839/0.3613, allocations: 9.333 MB / 468.2 MB, free: 424 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.33/13.69, allocations: 3.938 kB / 468.2 MB, free: 420 kB / 366.1 MB " [Timeout remaining time 646] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_SaturatedInductor_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-07 Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_SaturatedInductor.fmu > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/SaturatedInductor/SaturatedInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.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.317421454936266]