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.001782/0.001782, allocations: 114.5 kB / 21.17 MB, free: 0.6172 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.00156/0.00156, allocations: 206.8 kB / 24.47 MB, free: 4.023 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.561/1.561, allocations: 230.2 MB / 257.8 MB, free: 8.5 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.2594/0.2594, allocations: 46.9 MB / 361.1 MB, free: 4.59 MB / 286.1 MB " [Timeout remaining time 179] 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: translateModel(ModelicaTest.Electrical.Analog.TestSaturatingInductor,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|saturatingInductor.Psi|saturatingInductor.i",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor") translateModel(ModelicaTest.Electrical.Analog.TestSaturatingInductor,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|saturatingInductor.Psi|saturatingInductor.i",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002321/0.002321, allocations: 83.86 kB / 0.4968 GB, free: 7.789 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4719/0.4742, allocations: 65.99 MB / 0.5612 GB, free: 4.965 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.003651/0.4778, allocations: 1.925 MB / 0.5631 GB, free: 3.027 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001272/0.4791, allocations: 0.6009 MB / 0.5637 GB, free: 2.422 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.614e-05/0.4792, allocations: 0 / 0.5637 GB, free: 2.422 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.282e-05/0.4792, allocations: 11.86 kB / 0.5637 GB, free: 2.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002241/0.4795, allocations: 51.62 kB / 0.5637 GB, free: 2.359 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000293/0.4798, allocations: 83.08 kB / 0.5638 GB, free: 2.281 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002124/0.48, allocations: 147.5 kB / 0.564 GB, free: 2.137 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001764/0.4802, allocations: 27.91 kB / 0.564 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002473/0.4804, allocations: 79.64 kB / 0.5641 GB, free: 2.035 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001317/0.4805, allocations: 71.73 kB / 0.5641 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.984e-05/0.4806, allocations: 12 kB / 0.5641 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.988e-05/0.4806, allocations: 20 kB / 0.5642 GB, free: 1.934 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.614e-05/0.4807, allocations: 27.86 kB / 0.5642 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.43e-05/0.4807, allocations: 59.72 kB / 0.5642 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002492/0.481, allocations: 143.5 kB / 0.5644 GB, free: 1.707 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.481, allocations: 0 / 0.5644 GB, free: 1.707 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.481, allocations: 0 / 0.5644 GB, free: 1.707 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.044e-05/0.481, allocations: 0 / 0.5644 GB, free: 1.707 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.0009112/0.4819, allocations: 462.8 kB / 0.5648 GB, free: 1.207 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.166e-05/0.482, allocations: 8.031 kB / 0.5648 GB, free: 1.199 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003622/0.4823, allocations: 40.81 kB / 0.5649 GB, free: 1.16 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002823/0.4826, allocations: 188.2 kB / 0.5651 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/0.4826, allocations: 8.375 kB / 0.5651 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.454e-05/0.4827, allocations: 12.38 kB / 0.5651 GB, free: 0.918 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003915/0.4831, allocations: 134.5 kB / 0.5652 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.4831, allocations: 0 / 0.5652 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.773e-05/0.4831, allocations: 0 / 0.5652 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.4831, allocations: 0 / 0.5652 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003409/0.4834, allocations: 99.86 kB / 0.5653 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001016/0.4844, allocations: 459.5 kB / 0.5657 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003164/0.4848, allocations: 98.44 kB / 0.5658 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001508/0.4849, allocations: 44.92 kB / 0.5659 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.4849, allocations: 0 / 0.5659 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.968e-05/0.485, allocations: 38.5 kB / 0.5659 GB, free: 15.97 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.485, allocations: 0 / 0.5659 GB, free: 15.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.001444/0.4864, allocations: 321.1 kB / 0.5662 GB, free: 15.65 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.369e-05/0.4865, allocations: 106.8 kB / 0.5663 GB, free: 15.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001621/0.4867, allocations: 149.6 kB / 0.5665 GB, free: 15.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.514e-05/0.4867, allocations: 25.7 kB / 0.5665 GB, free: 15.33 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.693e-05/0.4868, allocations: 112.2 kB / 0.5666 GB, free: 15.21 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.846e-05/0.4868, allocations: 23.78 kB / 0.5666 GB, free: 15.19 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.316e-05/0.4869, allocations: 29.7 kB / 0.5666 GB, free: 15.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.487, allocations: 322.8 kB / 0.5669 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002514/0.4873, allocations: 59.94 kB / 0.567 GB, free: 14.77 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002656/0.4876, allocations: 100.1 kB / 0.5671 GB, free: 14.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004653/0.488, allocations: 134.5 kB / 0.5672 GB, free: 14.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/0.488, allocations: 0 / 0.5672 GB, free: 14.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005403/0.4886, allocations: 177.5 kB / 0.5674 GB, free: 14.34 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.4886, allocations: 15.94 kB / 0.5674 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.4886, allocations: 0 / 0.5674 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.4886, allocations: 0 / 0.5674 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005954/0.4892, allocations: 83.91 kB / 0.5675 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00164/0.4908, allocations: 1.501 MB / 0.569 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002172/0.4911, allocations: 19.98 kB / 0.569 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.52e-05/0.4911, allocations: 7.984 kB / 0.569 GB, free: 12.57 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.0001212/0.4912, allocations: 129.7 kB / 0.5691 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.7e-05/0.4912, allocations: 7.953 kB / 0.5691 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005378/0.4918, allocations: 162.4 kB / 0.5693 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.4918, allocations: 0 / 0.5693 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-06/0.4918, allocations: 0 / 0.5693 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.4918, allocations: 3.984 kB / 0.5693 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00088/0.4927, allocations: 474.2 kB / 0.5697 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.4927, allocations: 0 / 0.5697 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001649/0.4928, allocations: 31.97 kB / 0.5698 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.4928, allocations: 0 / 0.5698 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.4929, allocations: 4.062 kB / 0.5698 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.4929, allocations: 4.172 kB / 0.5698 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.4929, allocations: 0 / 0.5698 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005506/0.4934, allocations: 263.6 kB / 0.57 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.81e-05/0.4935, allocations: 85.06 kB / 0.5701 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.363e-05/0.4935, allocations: 3.984 kB / 0.5701 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002226/0.4937, allocations: 31.91 kB / 0.5701 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.794e-05/0.4938, allocations: 11.98 kB / 0.5701 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-06/0.4938, allocations: 0 / 0.5701 GB, free: 11.27 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.78e-05/0.4939, allocations: 113.7 kB / 0.5703 GB, free: 11.16 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4939, allocations: 0 / 0.5703 GB, free: 11.16 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002668/0.4941, allocations: 24 kB / 0.5703 GB, free: 11.14 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.0001168/0.4943, allocations: 103.2 kB / 0.5704 GB, free: 11.03 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009215/0.4952, allocations: 175.8 kB / 0.5705 GB, free: 10.86 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.4952, allocations: 0 / 0.5705 GB, free: 10.86 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002444/0.4954, allocations: 60.08 kB / 0.5706 GB, free: 10.8 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003491/0.4958, allocations: 14.75 kB / 0.5706 GB, free: 10.79 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001336/0.4971, allocations: 384.2 kB / 0.571 GB, free: 10.39 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003634/0.4975, allocations: 0.704 MB / 0.5717 GB, free: 9.656 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.914e-05/0.4975, allocations: 20.41 kB / 0.5717 GB, free: 9.637 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.572e-05/0.4976, allocations: 15.38 kB / 0.5717 GB, free: 9.621 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4976, allocations: 0 / 0.5717 GB, free: 9.621 MB / 414.1 MB Notification: Performance of Templates: time 0.004916/0.5025, allocations: 1.734 MB / 0.5734 GB, free: 7.891 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.makefile [Timeout 660] (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 & ./ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/Analog/TestSaturatingInductor/TestSaturatingInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 5.6059930650517344]