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.001311/0.001311, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.001568/0.001568, allocations: 216.5 kB / 24.53 MB, free: 4.012 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.374/1.374, allocations: 230.5 MB / 258.2 MB, free: 8.012 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.2124/0.2124, allocations: 46.93 MB / 361.6 MB, free: 4.168 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.002146/0.002146, allocations: 79.88 kB / 0.497 GB, free: 7.762 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.302/0.3042, allocations: 66.09 MB / 0.5615 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.003092/0.3073, allocations: 1.91 MB / 0.5634 GB, free: 2.359 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009697/0.3082, allocations: 0.6125 MB / 0.564 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.506e-05/0.3083, allocations: 4 kB / 0.564 GB, free: 1.738 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.446e-05/0.3083, allocations: 11.86 kB / 0.564 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000182/0.3085, allocations: 39.69 kB / 0.564 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002451/0.3088, allocations: 79.83 kB / 0.5641 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001861/0.309, allocations: 167.4 kB / 0.5643 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.3091, allocations: 19.14 kB / 0.5643 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001987/0.3093, allocations: 79.75 kB / 0.5643 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.3094, allocations: 67.69 kB / 0.5644 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.486e-05/0.3094, allocations: 12 kB / 0.5644 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.124e-05/0.3094, allocations: 20 kB / 0.5644 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.173e-05/0.3095, allocations: 19.92 kB / 0.5645 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.834e-05/0.3096, allocations: 67.7 kB / 0.5645 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000199/0.3098, allocations: 143.4 kB / 0.5647 GB, free: 1.023 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.3098, allocations: 0 / 0.5647 GB, free: 1.023 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.3098, allocations: 7.938 kB / 0.5647 GB, free: 1.016 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.3098, allocations: 0 / 0.5647 GB, free: 1.016 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.0007401/0.3105, allocations: 377.8 kB / 0.565 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.3106, allocations: 8.031 kB / 0.565 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.29e-05/0.3106, allocations: 8.188 kB / 0.565 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.692e-05/0.3106, allocations: 34.75 kB / 0.5651 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002938/0.3109, allocations: 44.81 kB / 0.5651 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001426/0.3111, allocations: 128.5 kB / 0.5652 GB, free: 376 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.127e-06/0.3111, allocations: 4.375 kB / 0.5652 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.721e-05/0.3111, allocations: 8.375 kB / 0.5653 GB, free: 364 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003165/0.3114, allocations: 140.1 kB / 0.5654 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.3114, allocations: 0 / 0.5654 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.79e-05/0.3114, allocations: 4 kB / 0.5654 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.3114, allocations: 4 kB / 0.5654 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003247/0.3118, allocations: 99.83 kB / 0.5655 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008466/0.3126, allocations: 418.7 kB / 0.5659 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003063/0.3129, allocations: 90.52 kB / 0.566 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001455/0.3131, allocations: 44.86 kB / 0.566 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.255e-05/0.3131, allocations: 4 kB / 0.566 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.3131, allocations: 38.5 kB / 0.5661 GB, free: 15.44 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.3131, allocations: 0 / 0.5661 GB, free: 15.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.001345/0.3145, allocations: 317.3 kB / 0.5664 GB, free: 15.12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.119e-05/0.3145, allocations: 110.8 kB / 0.5665 GB, free: 14.99 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001481/0.3147, allocations: 152.3 kB / 0.5666 GB, free: 14.83 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.648e-05/0.3147, allocations: 25.7 kB / 0.5666 GB, free: 14.8 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.236e-05/0.3148, allocations: 120.2 kB / 0.5668 GB, free: 14.68 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.421e-05/0.3148, allocations: 15.86 kB / 0.5668 GB, free: 14.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.039e-05/0.3149, allocations: 29.7 kB / 0.5668 GB, free: 14.62 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.315, allocations: 318.8 kB / 0.5671 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002396/0.3153, allocations: 59.95 kB / 0.5672 GB, free: 14.25 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002642/0.3155, allocations: 96.23 kB / 0.5672 GB, free: 14.14 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004444/0.316, allocations: 138.4 kB / 0.5674 GB, free: 13.99 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.316, allocations: 4 kB / 0.5674 GB, free: 13.99 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005169/0.3165, allocations: 173.4 kB / 0.5675 GB, free: 13.81 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.3165, allocations: 4 kB / 0.5676 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.3165, allocations: 0 / 0.5676 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.3165, allocations: 12.05 kB / 0.5676 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005773/0.3171, allocations: 87.89 kB / 0.5676 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00159/0.3187, allocations: 1.4 MB / 0.569 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002194/0.3189, allocations: 32.09 kB / 0.569 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/0.3189, allocations: 4 kB / 0.5691 GB, free: 12.16 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.00013/0.3191, allocations: 117.8 kB / 0.5692 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.856e-05/0.3191, allocations: 7.953 kB / 0.5692 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005275/0.3196, allocations: 170.2 kB / 0.5693 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.3196, allocations: 0 / 0.5693 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3196, allocations: 4 kB / 0.5693 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/0.3196, allocations: 3.938 kB / 0.5693 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008721/0.3205, allocations: 429.5 kB / 0.5698 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.3205, allocations: 0 / 0.5698 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001588/0.3207, allocations: 27.91 kB / 0.5698 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.3207, allocations: 8 kB / 0.5698 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.3207, allocations: 3.938 kB / 0.5698 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3207, allocations: 0 / 0.5698 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3207, allocations: 0 / 0.5698 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005601/0.3213, allocations: 267.5 kB / 0.57 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.146e-05/0.3213, allocations: 11.95 kB / 0.5701 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.471e-05/0.3213, allocations: 3.938 kB / 0.5701 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002033/0.3215, allocations: 23.97 kB / 0.5701 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.715e-05/0.3216, allocations: 8.172 kB / 0.5701 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.297e-06/0.3216, allocations: 4 kB / 0.5701 GB, free: 11.01 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001029/0.3217, allocations: 115.2 kB / 0.5702 GB, free: 10.89 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3217, allocations: 0 / 0.5702 GB, free: 10.89 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002779/0.322, allocations: 32 kB / 0.5702 GB, free: 10.86 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.0008531/0.3228, allocations: 0.7748 MB / 0.571 GB, free: 10.06 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008741/0.3237, allocations: 171.8 kB / 0.5712 GB, free: 9.891 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3237, allocations: 4 kB / 0.5712 GB, free: 9.887 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000226/0.3239, allocations: 55.95 kB / 0.5712 GB, free: 9.832 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000346/0.3243, allocations: 26.22 kB / 0.5712 GB, free: 9.809 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003662/0.3279, allocations: 1.977 MB / 0.5732 GB, free: 7.734 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003276/0.3282, allocations: 0.7085 MB / 0.5739 GB, free: 7 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.753e-05/0.3283, allocations: 12.42 kB / 0.5739 GB, free: 6.988 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.715e-05/0.3284, allocations: 35.42 kB / 0.5739 GB, free: 6.953 MB / 414.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3284, allocations: 0 / 0.5739 GB, free: 6.953 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0246/0.353, allocations: 3.298 MB / 0.5771 GB, free: 3.781 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.01/12.37, allocations: 5.375 kB / 0.5771 GB, free: 3.777 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.114634397032205]