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.001443/0.001443, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.001702/0.001702, allocations: 213.1 kB / 24.5 MB, free: 4.148 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.345/1.345, allocations: 230.5 MB / 258.1 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.2128/0.2128, allocations: 46.93 MB / 361.5 MB, free: 4.16 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: 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.002306/0.002306, allocations: 79.86 kB / 0.4974 GB, free: 7.258 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2799/0.2822, allocations: 66.09 MB / 0.5619 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.003195/0.2854, allocations: 1.925 MB / 0.5638 GB, free: 2.297 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001063/0.2865, allocations: 0.6009 MB / 0.5644 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.042e-05/0.2865, allocations: 4 kB / 0.5644 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.193e-05/0.2866, allocations: 15.8 kB / 0.5644 GB, free: 1.672 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002009/0.2868, allocations: 35.72 kB / 0.5645 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000276/0.2871, allocations: 91.12 kB / 0.5646 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002114/0.2873, allocations: 159.4 kB / 0.5647 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.2874, allocations: 24.95 kB / 0.5647 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002338/0.2876, allocations: 75.77 kB / 0.5648 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.2878, allocations: 67.69 kB / 0.5649 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.7e-05/0.2878, allocations: 12 kB / 0.5649 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.358e-05/0.2878, allocations: 16 kB / 0.5649 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.415e-05/0.2879, allocations: 39.89 kB / 0.5649 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.407e-05/0.2879, allocations: 55.73 kB / 0.565 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002145/0.2881, allocations: 146.1 kB / 0.5651 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2882, allocations: 0 / 0.5651 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2882, allocations: 0 / 0.5651 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.2882, allocations: 0 / 0.5651 GB, free: 0.9688 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.0007826/0.2889, allocations: 377.8 kB / 0.5655 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.289, allocations: 8.031 kB / 0.5655 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00031/0.2893, allocations: 44.81 kB / 0.5655 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001691/0.2895, allocations: 134.4 kB / 0.5657 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.2895, allocations: 12.38 kB / 0.5657 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.585e-05/0.2895, allocations: 4.375 kB / 0.5657 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003221/0.2898, allocations: 136.5 kB / 0.5658 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.2898, allocations: 0 / 0.5658 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/0.2898, allocations: 4 kB / 0.5658 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.2899, allocations: 4 kB / 0.5658 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003132/0.2902, allocations: 95.92 kB / 0.5659 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000844/0.291, allocations: 422.5 kB / 0.5663 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002986/0.2913, allocations: 86.52 kB / 0.5664 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001428/0.2915, allocations: 44.92 kB / 0.5664 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.2915, allocations: 3.938 kB / 0.5664 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.736e-05/0.2915, allocations: 34.56 kB / 0.5665 GB, free: 15.45 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.2915, allocations: 0 / 0.5665 GB, free: 15.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.001339/0.2928, allocations: 325.1 kB / 0.5668 GB, free: 15.12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.063e-05/0.2929, allocations: 102.8 kB / 0.5669 GB, free: 15 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001488/0.2931, allocations: 152.2 kB / 0.567 GB, free: 14.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.2931, allocations: 33.64 kB / 0.5671 GB, free: 14.8 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.966e-05/0.2932, allocations: 120.2 kB / 0.5672 GB, free: 14.68 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.39e-05/0.2932, allocations: 19.86 kB / 0.5672 GB, free: 14.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.703e-05/0.2933, allocations: 25.7 kB / 0.5672 GB, free: 14.62 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.2934, allocations: 322.8 kB / 0.5675 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002217/0.2936, allocations: 55.95 kB / 0.5676 GB, free: 14.25 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002435/0.2939, allocations: 104.2 kB / 0.5677 GB, free: 14.13 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004187/0.2943, allocations: 138.5 kB / 0.5678 GB, free: 13.98 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.2943, allocations: 0 / 0.5678 GB, free: 13.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004953/0.2948, allocations: 169.5 kB / 0.568 GB, free: 13.81 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.2948, allocations: 14.19 kB / 0.568 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.2948, allocations: 0 / 0.568 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.2948, allocations: 4 kB / 0.568 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005647/0.2954, allocations: 83.91 kB / 0.5681 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001493/0.2969, allocations: 1.397 MB / 0.5694 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002184/0.2971, allocations: 32.06 kB / 0.5695 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.23e-05/0.2971, allocations: 4 kB / 0.5695 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.0001077/0.2972, allocations: 121.7 kB / 0.5696 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.806e-05/0.2973, allocations: 7.953 kB / 0.5696 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004836/0.2978, allocations: 178.3 kB / 0.5698 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.2978, allocations: 0 / 0.5698 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.2978, allocations: 4 kB / 0.5698 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.2978, allocations: 0 / 0.5698 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007825/0.2985, allocations: 429.5 kB / 0.5702 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.2985, allocations: 0 / 0.5702 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001563/0.2987, allocations: 35.91 kB / 0.5702 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.2987, allocations: 4 kB / 0.5702 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.357e-06/0.2987, allocations: 0 / 0.5702 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.2987, allocations: 3.938 kB / 0.5702 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2987, allocations: 64 / 0.5702 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005028/0.2992, allocations: 263.4 kB / 0.5705 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.957e-05/0.2992, allocations: 7.953 kB / 0.5705 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.001e-05/0.2993, allocations: 0 / 0.5705 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000207/0.2995, allocations: 35.84 kB / 0.5705 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.31e-05/0.2995, allocations: 7.984 kB / 0.5705 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-06/0.2995, allocations: 4 kB / 0.5705 GB, free: 11 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.58e-05/0.2996, allocations: 111.2 kB / 0.5706 GB, free: 10.89 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2996, allocations: 0 / 0.5706 GB, free: 10.89 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000257/0.2999, allocations: 28 kB / 0.5707 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.0001128/0.3, allocations: 99.19 kB / 0.5707 GB, free: 10.76 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000823/0.3008, allocations: 163.8 kB / 0.5709 GB, free: 10.6 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3008, allocations: 0 / 0.5709 GB, free: 10.6 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002215/0.301, allocations: 68.02 kB / 0.571 GB, free: 10.53 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003094/0.3013, allocations: 14.75 kB / 0.571 GB, free: 10.52 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001261/0.3026, allocations: 414.5 kB / 0.5714 GB, free: 10.08 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003277/0.3029, allocations: 0.7008 MB / 0.5721 GB, free: 9.352 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.733e-05/0.303, allocations: 11.44 kB / 0.5721 GB, free: 9.34 MB / 414.1 MB Notification: Performance of SimCode: time 3.61e-07/0.303, allocations: 0 / 0.5721 GB, free: 9.34 MB / 414.1 MB Notification: Performance of Templates: time 0.003886/0.3069, allocations: 1.85 MB / 0.5739 GB, free: 7.492 MB / 414.1 MB " [Timeout remaining time 660] 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 -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/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: 6.84824966895394]