Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.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.001352/0.001352, allocations: 105.1 kB / 21.22 MB, free: 0.6289 MB / 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.001443/0.001443, allocations: 211.8 kB / 24.51 MB, free: 3.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.456/1.456, allocations: 230.6 MB / 258.3 MB, free: 7.75 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.224/0.224, allocations: 46.96 MB / 361.7 MB, free: 4.023 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(ModelicaTest.Electrical.Analog.TestSaturatingInductor,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_Analog_TestSaturatingInductor",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestSaturatingInductor,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_Analog_TestSaturatingInductor",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 64.09 kB / 0.4969 GB, free: 7.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.305/0.307, allocations: 66.03 MB / 0.5613 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.00341/0.3104, allocations: 1.858 MB / 0.5632 GB, free: 2.379 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001178/0.3116, allocations: 0.5542 MB / 0.5637 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.59e-05/0.3116, allocations: 0 / 0.5637 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.539e-05/0.3117, allocations: 15.86 kB / 0.5637 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002297/0.3119, allocations: 43.62 kB / 0.5638 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003948/0.3123, allocations: 87.64 kB / 0.5638 GB, free: 1.68 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002053/0.3125, allocations: 159.4 kB / 0.564 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001383/0.3127, allocations: 27.11 kB / 0.564 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002463/0.3129, allocations: 71.78 kB / 0.5641 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001234/0.313, allocations: 71.73 kB / 0.5641 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.209e-05/0.3131, allocations: 12 kB / 0.5642 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.992e-05/0.3131, allocations: 12 kB / 0.5642 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.306e-05/0.3132, allocations: 31.86 kB / 0.5642 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.811e-05/0.3132, allocations: 59.77 kB / 0.5643 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002656/0.3135, allocations: 139.4 kB / 0.5644 GB, free: 1.105 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.3135, allocations: 0 / 0.5644 GB, free: 1.105 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3135, allocations: 0 / 0.5644 GB, free: 1.105 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.575e-06/0.3135, allocations: 0 / 0.5644 GB, free: 1.105 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.0009211/0.3144, allocations: 381.8 kB / 0.5648 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.3145, allocations: 8.031 kB / 0.5648 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.625e-05/0.3145, allocations: 4.188 kB / 0.5648 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.014e-05/0.3146, allocations: 38.75 kB / 0.5648 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003477/0.3149, allocations: 44.81 kB / 0.5648 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001779/0.3151, allocations: 130.4 kB / 0.565 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.3151, allocations: 8.375 kB / 0.565 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.799e-05/0.3151, allocations: 4.375 kB / 0.565 GB, free: 448 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003762/0.3155, allocations: 199.5 kB / 0.5652 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.3155, allocations: 3.938 kB / 0.5652 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.3155, allocations: 4 kB / 0.5652 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.3156, allocations: 4 kB / 0.5652 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003215/0.3159, allocations: 95.83 kB / 0.5653 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008412/0.3167, allocations: 390.6 kB / 0.5656 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003163/0.317, allocations: 98.5 kB / 0.5657 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001446/0.3172, allocations: 36.92 kB / 0.5658 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.55e-05/0.3172, allocations: 7.938 kB / 0.5658 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.652e-05/0.3172, allocations: 34.56 kB / 0.5658 GB, free: 15.48 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.3172, allocations: 0 / 0.5658 GB, free: 15.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.001439/0.3187, allocations: 317.1 kB / 0.5661 GB, free: 15.16 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.815e-05/0.3188, allocations: 106.8 kB / 0.5662 GB, free: 15.04 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001706/0.3189, allocations: 155.8 kB / 0.5664 GB, free: 14.88 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.001e-05/0.319, allocations: 25.7 kB / 0.5664 GB, free: 14.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.3191, allocations: 116.2 kB / 0.5665 GB, free: 14.72 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.119e-05/0.3191, allocations: 23.72 kB / 0.5665 GB, free: 14.7 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.222e-05/0.3192, allocations: 29.7 kB / 0.5666 GB, free: 14.66 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001772/0.3194, allocations: 322.8 kB / 0.5669 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002305/0.3196, allocations: 55.95 kB / 0.5669 GB, free: 14.29 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002931/0.3199, allocations: 151.6 kB / 0.5671 GB, free: 14.11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004377/0.3203, allocations: 134.5 kB / 0.5672 GB, free: 13.97 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.3203, allocations: 0 / 0.5672 GB, free: 13.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005191/0.3208, allocations: 177.4 kB / 0.5674 GB, free: 13.79 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.3209, allocations: 14.72 kB / 0.5674 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.3209, allocations: 0 / 0.5674 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.3209, allocations: 0 / 0.5674 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006144/0.3215, allocations: 83.91 kB / 0.5675 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001614/0.3231, allocations: 1.393 MB / 0.5688 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002278/0.3233, allocations: 31.94 kB / 0.5688 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.518e-05/0.3234, allocations: 4 kB / 0.5688 GB, free: 12.15 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.000134/0.3235, allocations: 125.9 kB / 0.569 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.882e-05/0.3235, allocations: 7.953 kB / 0.569 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005267/0.3241, allocations: 162.3 kB / 0.5691 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.3241, allocations: 4 kB / 0.5691 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.3241, allocations: 4 kB / 0.5691 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.3241, allocations: 11.86 kB / 0.5692 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008744/0.3249, allocations: 405.7 kB / 0.5695 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.3249, allocations: 0 / 0.5695 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000166/0.3251, allocations: 31.97 kB / 0.5696 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.3251, allocations: 288 / 0.5696 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.924e-05/0.3251, allocations: 7.938 kB / 0.5696 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.3251, allocations: 80 / 0.5696 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.3251, allocations: 3.984 kB / 0.5696 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005797/0.3257, allocations: 259.5 kB / 0.5698 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.548e-05/0.3257, allocations: 15.92 kB / 0.5698 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.552e-05/0.3258, allocations: 7.875 kB / 0.5699 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002164/0.326, allocations: 27.97 kB / 0.5699 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.33e-05/0.326, allocations: 4 kB / 0.5699 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.858e-06/0.326, allocations: 3.984 kB / 0.5699 GB, free: 11.01 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001041/0.3262, allocations: 115.3 kB / 0.57 GB, free: 10.89 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3262, allocations: 0 / 0.57 GB, free: 10.89 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002843/0.3264, allocations: 24 kB / 0.57 GB, free: 10.87 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.0009019/0.3273, allocations: 0.7865 MB / 0.5708 GB, free: 10.05 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009034/0.3282, allocations: 171.9 kB / 0.5709 GB, free: 9.887 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3282, allocations: 0 / 0.5709 GB, free: 9.887 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002227/0.3285, allocations: 59.88 kB / 0.571 GB, free: 9.828 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000366/0.3288, allocations: 17.89 kB / 0.571 GB, free: 9.812 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003615/0.3324, allocations: 1.981 MB / 0.573 GB, free: 7.734 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001005/0.3325, allocations: 88.81 kB / 0.573 GB, free: 7.629 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.927e-05/0.3326, allocations: 16.52 kB / 0.5731 GB, free: 7.613 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.045e-05/0.3327, allocations: 39.36 kB / 0.5731 GB, free: 7.574 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3327, allocations: 0 / 0.5731 GB, free: 7.574 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02393/0.3566, allocations: 3.442 MB / 0.5765 GB, free: 4.305 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.92/13.27, allocations: 10.45 kB / 0.5765 GB, free: 4.297 MB / 414.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Electrical_Analog_TestSaturatingInductor_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-05 ModelicaTest_4_1_0_ModelicaTest_Electrical_Analog_TestSaturatingInductor.fmu > ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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: 16.179749489063397]