Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.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.002562/0.002562, allocations: 103.6 kB / 21.18 MB, free: 332 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.002368/0.002368, allocations: 212 kB / 24.47 MB, free: 3.547 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.445/1.445, allocations: 207.7 MB / 235.3 MB, free: 9.805 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.Hysteresis.InductorWithHysteresis,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis",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.002157/0.002157, allocations: 58.58 kB / 347.2 MB, free: 9.891 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.246/0.2482, allocations: 49.16 MB / 396.4 MB, free: 8.887 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.00402/0.2522, allocations: 2.607 MB / 399 MB, free: 7.152 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002063/0.2542, allocations: 1.194 MB / 400.2 MB, free: 6.344 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002833/0.2545, allocations: 6.438 kB / 400.2 MB, free: 6.34 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002707/0.2548, allocations: 59.3 kB / 400.2 MB, free: 6.309 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006102/0.2554, allocations: 233.3 kB / 400.4 MB, free: 6.176 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003052/0.2557, allocations: 115.1 kB / 400.6 MB, free: 6.113 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004161/0.2561, allocations: 462.8 kB / 401 MB, free: 5.895 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001463/0.2563, allocations: 61.45 kB / 401.1 MB, free: 5.859 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002377/0.2565, allocations: 185.7 kB / 401.3 MB, free: 5.781 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002934/0.2568, allocations: 205.4 kB / 401.5 MB, free: 5.695 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.985e-05/0.2569, allocations: 41.88 kB / 401.5 MB, free: 5.695 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002888/0.2572, allocations: 149.2 kB / 401.6 MB, free: 5.676 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.91e-05/0.2572, allocations: 92.08 kB / 401.7 MB, free: 5.617 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001372/0.2574, allocations: 162.2 kB / 401.9 MB, free: 5.527 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005197/0.2579, allocations: 0.5065 MB / 402.4 MB, free: 5.328 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.2579, allocations: 0.9844 kB / 402.4 MB, free: 5.328 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2579, allocations: 0 / 402.4 MB, free: 5.328 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.2579, allocations: 0 / 402.4 MB, free: 5.328 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001415/0.2593, allocations: 0.6437 MB / 403 MB, free: 4.887 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.2594, allocations: 14.2 kB / 403.1 MB, free: 4.883 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.414e-05/0.2594, allocations: 68.39 kB / 403.1 MB, free: 4.82 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.32e-05/0.2595, allocations: 35.8 kB / 403.2 MB, free: 4.805 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004499/0.26, allocations: 270.1 kB / 403.4 MB, free: 4.586 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.731e-05/0.26, allocations: 101 kB / 403.5 MB, free: 4.48 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001547/0.2602, allocations: 45.86 kB / 403.6 MB, free: 4.461 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006064/0.2608, allocations: 350.7 kB / 403.9 MB, free: 4.277 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.2608, allocations: 0 / 403.9 MB, free: 4.277 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.155e-05/0.2608, allocations: 11.23 kB / 403.9 MB, free: 4.27 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.2608, allocations: 6.531 kB / 403.9 MB, free: 4.27 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006605/0.2615, allocations: 308 kB / 404.2 MB, free: 4.172 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001572/0.2631, allocations: 1.041 MB / 405.3 MB, free: 3.406 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005724/0.2637, allocations: 275.5 kB / 405.5 MB, free: 3.277 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003013/0.264, allocations: 154.4 kB / 405.7 MB, free: 3.211 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/0.264, allocations: 4.234 kB / 405.7 MB, free: 3.211 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/0.264, allocations: 41.72 kB / 405.7 MB, free: 3.164 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 1.653e-06/0.264, allocations: 0 / 405.7 MB, free: 3.164 MB / 318.1 MB Notification: Performance of matching and sorting (n=42): time 0.008712/0.2727, allocations: 2.265 MB / 408 MB, free: 2.402 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.715e-05/0.2727, allocations: 83.38 kB / 408.1 MB, free: 2.309 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003262/0.2731, allocations: 289.9 kB / 408.4 MB, free: 2.141 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.308e-05/0.2731, allocations: 31.52 kB / 408.4 MB, free: 2.105 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.049e-05/0.2732, allocations: 177.5 kB / 408.6 MB, free: 1.953 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.012e-05/0.2733, allocations: 152.2 kB / 408.7 MB, free: 1.832 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001364/0.2734, allocations: 83.94 kB / 408.8 MB, free: 1.785 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.735e-05/0.2735, allocations: 342.4 kB / 409.1 MB, free: 1.457 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003905/0.2739, allocations: 162.7 kB / 409.3 MB, free: 1.402 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004003/0.2743, allocations: 227.2 kB / 409.5 MB, free: 1.277 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007435/0.275, allocations: 405.8 kB / 409.9 MB, free: 1.039 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.275, allocations: 1.031 kB / 409.9 MB, free: 1.039 MB / 318.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009441/0.2759, allocations: 498.2 kB / 410.4 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.276, allocations: 6.156 kB / 410.4 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.974e-06/0.276, allocations: 1.781 kB / 410.4 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.276, allocations: 3.25 kB / 410.4 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005802/0.2766, allocations: 121.7 kB / 410.5 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.2766, allocations: 8.266 kB / 410.5 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00038/0.277, allocations: 25.73 kB / 410.6 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.411e-05/0.277, allocations: 22.89 kB / 410.6 MB, free: 0.7188 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001333/0.2771, allocations: 157 kB / 410.7 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.792e-05/0.2772, allocations: 35.25 kB / 410.8 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001688/0.2789, allocations: 0.6512 MB / 411.4 MB, free: 172 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.2789, allocations: 3.969 kB / 411.4 MB, free: 172 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.2789, allocations: 5.156 kB / 411.4 MB, free: 168 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.2789, allocations: 5.297 kB / 411.4 MB, free: 164 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003117/0.282, allocations: 1.168 MB / 412.6 MB, free: 15.37 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.282, allocations: 0.9375 kB / 412.6 MB, free: 15.37 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004387/0.2825, allocations: 87.08 kB / 412.7 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001566/0.284, allocations: 274.6 kB / 413 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.07e-05/0.2841, allocations: 11.38 kB / 413 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004082/0.2882, allocations: 2.296 MB / 415.3 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.2882, allocations: 1.094 kB / 415.3 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002347/0.2905, allocations: 1.013 MB / 416.3 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002033/0.2907, allocations: 73.47 kB / 416.3 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.012e-05/0.2908, allocations: 11.38 kB / 416.4 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000433/0.2912, allocations: 23.3 kB / 416.4 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.2913, allocations: 40.23 kB / 416.4 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.144e-05/0.2914, allocations: 12.69 kB / 416.4 MB, free: 12.54 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000235/0.2916, allocations: 214.4 kB / 416.6 MB, free: 12.39 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2916, allocations: 4 kB / 416.6 MB, free: 12.39 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005808/0.2922, allocations: 122.3 kB / 416.8 MB, free: 12.36 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (winding.i,core.Hstat,core.B,core.MagRel) * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002841/0.295, allocations: 1.583 MB / 418.3 MB, free: 11.18 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009933/0.296, allocations: 410.9 kB / 418.7 MB, free: 11 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.296, allocations: 1.531 kB / 418.7 MB, free: 11 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007258/0.2967, allocations: 366.4 kB / 419.1 MB, free: 10.76 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005204/0.2973, allocations: 34.08 kB / 419.1 MB, free: 10.74 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0059/0.3032, allocations: 3.859 MB / 423 MB, free: 7.77 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001871/0.3033, allocations: 183.1 kB / 423.2 MB, free: 7.566 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002208/0.3036, allocations: 38.97 kB / 423.2 MB, free: 7.531 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002321/0.3038, allocations: 115.4 kB / 423.3 MB, free: 7.418 MB / 334.1 MB Notification: Performance of SimCode: time 1.112e-06/0.3038, allocations: 0 / 423.3 MB, free: 7.418 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04452/0.3483, allocations: 10.09 MB / 433.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.84/13.19, allocations: 8 kB / 433.4 MB, free: 13.25 MB / 350.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis_fmu --startTime=0 --stopTime=0.02 --stepSize=4e-06 --timeout=50 --tolerance=0.0001 Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis.fmu > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/InductorWithHysteresis/InductorWithHysteresis.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.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: 15.946706262882799]