Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.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.001306/0.001306, allocations: 111.5 kB / 21.22 MB, free: 0.6484 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.00138/0.00138, allocations: 209.2 kB / 24.51 MB, free: 3.941 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.394/1.394, allocations: 230.5 MB / 258.2 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2169/0.2169, allocations: 46.95 MB / 361.6 MB, free: 3.941 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Electrical.Analog.TestSaturatingInductor,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_Analog_TestSaturatingInductor",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestSaturatingInductor,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_Analog_TestSaturatingInductor",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002164/0.002164, allocations: 79.88 kB / 0.4969 GB, free: 7.578 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3238/0.326, allocations: 66.08 MB / 0.5614 GB, free: 4.039 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.003201/0.3292, allocations: 1.845 MB / 0.5632 GB, free: 2.184 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001158/0.3304, allocations: 0.5543 MB / 0.5638 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.006e-05/0.3304, allocations: 0 / 0.5638 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.322e-05/0.3305, allocations: 19.8 kB / 0.5638 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001957/0.3307, allocations: 39.69 kB / 0.5638 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002778/0.331, allocations: 83.2 kB / 0.5639 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001839/0.3311, allocations: 151.4 kB / 0.5641 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.3313, allocations: 35.05 kB / 0.5641 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000201/0.3315, allocations: 75.77 kB / 0.5642 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001121/0.3316, allocations: 67.69 kB / 0.5642 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.815e-05/0.3316, allocations: 12 kB / 0.5642 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.311e-05/0.3317, allocations: 16 kB / 0.5642 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.893e-05/0.3317, allocations: 27.91 kB / 0.5643 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.551e-05/0.3318, allocations: 55.78 kB / 0.5643 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002262/0.332, allocations: 147.4 kB / 0.5645 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.332, allocations: 0 / 0.5645 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.332, allocations: 4 kB / 0.5645 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.332, allocations: 0 / 0.5645 GB, free: 0.9062 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007659/0.3328, allocations: 373.8 kB / 0.5648 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.3328, allocations: 8.031 kB / 0.5648 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.544e-05/0.3328, allocations: 4.188 kB / 0.5648 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.991e-05/0.3329, allocations: 46.67 kB / 0.5649 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003002/0.3332, allocations: 44.81 kB / 0.5649 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/0.3333, allocations: 122.4 kB / 0.565 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.3333, allocations: 4.375 kB / 0.565 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.009e-05/0.3334, allocations: 8.375 kB / 0.5651 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003666/0.3337, allocations: 195.5 kB / 0.5652 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.3337, allocations: 4 kB / 0.5652 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.689e-05/0.3338, allocations: 4 kB / 0.5653 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.3338, allocations: 0 / 0.5653 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003456/0.3341, allocations: 95.83 kB / 0.5653 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007981/0.3349, allocations: 402.6 kB / 0.5657 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003114/0.3352, allocations: 86.47 kB / 0.5658 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001442/0.3354, allocations: 40.92 kB / 0.5658 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.743e-05/0.3354, allocations: 4 kB / 0.5659 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.3354, allocations: 34.5 kB / 0.5659 GB, free: 15.3 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.3354, allocations: 0 / 0.5659 GB, free: 15.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.001363/0.3368, allocations: 321.2 kB / 0.5662 GB, free: 14.98 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.205e-05/0.3368, allocations: 110.8 kB / 0.5663 GB, free: 14.84 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001807/0.337, allocations: 156.3 kB / 0.5664 GB, free: 14.68 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.478e-05/0.337, allocations: 29.7 kB / 0.5665 GB, free: 14.65 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.3372, allocations: 112.1 kB / 0.5666 GB, free: 14.53 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.404e-05/0.3372, allocations: 23.8 kB / 0.5666 GB, free: 14.51 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.455e-05/0.3372, allocations: 25.7 kB / 0.5666 GB, free: 14.48 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.3374, allocations: 322.8 kB / 0.5669 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002316/0.3376, allocations: 64.02 kB / 0.567 GB, free: 14.09 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002847/0.3379, allocations: 147.6 kB / 0.5671 GB, free: 13.92 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004271/0.3383, allocations: 134.5 kB / 0.5673 GB, free: 13.78 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/0.3383, allocations: 0 / 0.5673 GB, free: 13.78 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005686/0.3389, allocations: 189.4 kB / 0.5674 GB, free: 13.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.3389, allocations: 6.188 kB / 0.5675 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.054e-06/0.3389, allocations: 4 kB / 0.5675 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.3389, allocations: 0 / 0.5675 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006202/0.3396, allocations: 87.97 kB / 0.5675 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001608/0.3412, allocations: 1.389 MB / 0.5689 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002193/0.3414, allocations: 32.12 kB / 0.5689 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.3414, allocations: 0 / 0.5689 GB, free: 11.95 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001196/0.3415, allocations: 121.8 kB / 0.569 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.949e-05/0.3416, allocations: 11.94 kB / 0.5691 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005033/0.3421, allocations: 162.3 kB / 0.5692 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3421, allocations: 3.938 kB / 0.5692 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.22e-07/0.3421, allocations: 0 / 0.5692 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.3421, allocations: 7.938 kB / 0.5692 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007949/0.3429, allocations: 413.5 kB / 0.5696 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.3429, allocations: 0 / 0.5696 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001618/0.343, allocations: 23.97 kB / 0.5696 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/0.343, allocations: 4 kB / 0.5696 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.343, allocations: 3.938 kB / 0.5696 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.343, allocations: 4.125 kB / 0.5696 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.343, allocations: 0 / 0.5696 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005465/0.3436, allocations: 259.3 kB / 0.5699 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.027e-05/0.3436, allocations: 7.953 kB / 0.5699 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.907e-05/0.3436, allocations: 11.94 kB / 0.5699 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002116/0.3439, allocations: 27.97 kB / 0.5699 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.307e-05/0.3439, allocations: 7.922 kB / 0.5699 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.307e-06/0.3439, allocations: 8 kB / 0.57 GB, free: 10.82 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.875e-05/0.344, allocations: 111.2 kB / 0.5701 GB, free: 10.71 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.344, allocations: 0 / 0.5701 GB, free: 10.71 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002652/0.3443, allocations: 28 kB / 0.5701 GB, free: 10.68 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.0008296/0.3451, allocations: 0.7787 MB / 0.5708 GB, free: 9.871 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008781/0.346, allocations: 175.8 kB / 0.571 GB, free: 9.699 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.346, allocations: 0 / 0.571 GB, free: 9.699 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002242/0.3462, allocations: 59.95 kB / 0.5711 GB, free: 9.641 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003574/0.3466, allocations: 14.58 kB / 0.5711 GB, free: 9.629 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003571/0.3501, allocations: 1.986 MB / 0.573 GB, free: 7.547 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.466e-05/0.3502, allocations: 88.8 kB / 0.5731 GB, free: 7.441 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.856e-05/0.3503, allocations: 20.41 kB / 0.5731 GB, free: 7.422 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.395e-05/0.3504, allocations: 35.42 kB / 0.5732 GB, free: 7.387 MB / 414.1 MB Notification: Performance of SimCode: time 8.51e-07/0.3504, allocations: 0 / 0.5732 GB, free: 7.387 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02457/0.375, allocations: 3.449 MB / 0.5765 GB, free: 4.074 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.1/12.47, allocations: 8.062 kB / 0.5765 GB, free: 4.066 MB / 414.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Electrical_Analog_TestSaturatingInductor_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Electrical_Analog_TestSaturatingInductor.fmu > ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/Analog/TestSaturatingInductor/TestSaturatingInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.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.272970519028604]