Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.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.001679/0.001679, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.002034/0.002034, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.446/1.446, allocations: 230.6 MB / 258.3 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] 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: translateModel(Modelica.Electrical.Analog.Examples.CharacteristicThyristors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5052,variableFilter="time|IdealThyristor1.off|IdealThyristor2.off|booleanStep1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") translateModel(Modelica.Electrical.Analog.Examples.CharacteristicThyristors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5052,variableFilter="time|IdealThyristor1.off|IdealThyristor2.off|booleanStep1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001546/0.001546, allocations: 44.08 kB / 379 MB, free: 2.633 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2518/0.2534, allocations: 53.36 MB / 432.4 MB, free: 6.93 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.006249/0.2596, allocations: 4.037 MB / 436.4 MB, free: 2.875 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003313/0.2629, allocations: 1.64 MB / 438.1 MB, free: 1.227 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000358/0.2633, allocations: 11.94 kB / 438.1 MB, free: 1.215 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008414/0.2641, allocations: 254.7 kB / 438.3 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007556/0.2649, allocations: 308.6 kB / 438.6 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006705/0.2656, allocations: 267.4 kB / 438.9 MB, free: 412 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008655/0.2664, allocations: 0.728 MB / 439.6 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002504/0.2667, allocations: 114.9 kB / 439.7 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004248/0.2671, allocations: 295 kB / 440 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004016/0.2675, allocations: 306.7 kB / 440.3 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.569e-05/0.2676, allocations: 56 kB / 440.4 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002416/0.2678, allocations: 111.9 kB / 440.5 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001485/0.268, allocations: 139.5 kB / 440.6 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003223/0.2683, allocations: 314.3 kB / 440.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008986/0.2692, allocations: 0.7155 MB / 441.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.2692, allocations: 0 / 441.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2692, allocations: 0 / 441.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.2692, allocations: 0 / 441.6 MB, free: 13.64 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.001708/0.2709, allocations: 0.8965 MB / 442.5 MB, free: 12.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.271, allocations: 8.031 kB / 442.6 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002343/0.2712, allocations: 88.45 kB / 442.6 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000652/0.2718, allocations: 361.3 kB / 443 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.654e-05/0.2719, allocations: 29.38 kB / 443 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.263e-05/0.2719, allocations: 44.12 kB / 443.1 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008108/0.2727, allocations: 445.5 kB / 443.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.2728, allocations: 0 / 443.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.978e-05/0.2728, allocations: 16 kB / 443.5 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.634e-05/0.2728, allocations: 12 kB / 443.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000626/0.2734, allocations: 311.8 kB / 443.8 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002542/0.276, allocations: 1.645 MB / 445.5 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006902/0.2767, allocations: 339 kB / 445.8 MB, free: 9.293 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003043/0.277, allocations: 153.4 kB / 446 MB, free: 9.141 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.883e-05/0.277, allocations: 4 kB / 446 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004694/0.2775, allocations: 270.3 kB / 446.2 MB, free: 8.844 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 1.633e-06/0.2775, allocations: 0 / 446.2 MB, free: 8.844 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002071/0.2796, allocations: 0.7051 MB / 446.9 MB, free: 8.121 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000134/0.2797, allocations: 191.9 kB / 447.1 MB, free: 7.891 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006656/0.2804, allocations: 0.5058 MB / 447.6 MB, free: 7.379 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.061e-05/0.2804, allocations: 33.7 kB / 447.7 MB, free: 7.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000221/0.2806, allocations: 256.8 kB / 447.9 MB, free: 7.082 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001282/0.2808, allocations: 134.9 kB / 448 MB, free: 6.949 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001309/0.2809, allocations: 74.14 kB / 448.1 MB, free: 6.871 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001847/0.2811, allocations: 358.8 kB / 448.5 MB, free: 6.512 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002578/0.2813, allocations: 128.8 kB / 448.6 MB, free: 6.387 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003398/0.2817, allocations: 209.2 kB / 448.8 MB, free: 6.148 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004986/0.2822, allocations: 277.1 kB / 449.1 MB, free: 5.867 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.2822, allocations: 0 / 449.1 MB, free: 5.867 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009233/0.2831, allocations: 477 kB / 449.5 MB, free: 5.383 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.2831, allocations: 4 kB / 449.5 MB, free: 5.379 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.2831, allocations: 4.094 kB / 449.5 MB, free: 5.375 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000513/0.2836, allocations: 167.3 kB / 449.7 MB, free: 5.199 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002204/0.2838, allocations: 39.97 kB / 449.7 MB, free: 5.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00587/0.2897, allocations: 6.249 MB / 456 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004169/0.2901, allocations: 55.81 kB / 456 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.022e-05/0.2902, allocations: 12 kB / 456.1 MB, free: 14.39 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.booleanStep1.combiTimeTable.nextTimeEvent,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,IdealGTOThyristor2.off,IdealThyristor2.off,$PRE.IdealThyristor2.off,booleanStep1.combiTimeTable.nextTimeEventScaled,$PRE.booleanStep1.combiTimeTable.nextTimeEventScaled,booleanStep1.combiTimeTable.nextTimeEvent,IdealGTOThyristor1.off,IdealThyristor1.fire,IdealThyristor1.off,$PRE.IdealThyristor1.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,4), (1,4), (1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002884/0.2905, allocations: 187.7 kB / 456.2 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.931e-05/0.2905, allocations: 63.61 kB / 456.3 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001063/0.2916, allocations: 0.4977 MB / 456.8 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.2916, allocations: 4 kB / 456.8 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.2916, allocations: 3.938 kB / 456.8 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.2916, allocations: 3.984 kB / 456.8 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005985/0.2922, allocations: 476.1 kB / 457.3 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.2922, allocations: 0 / 457.3 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001394/0.2924, allocations: 27.92 kB / 457.3 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004993/0.2929, allocations: 167.4 kB / 457.5 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.287e-05/0.2929, allocations: 4 kB / 457.5 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005559/0.2984, allocations: 5.951 MB / 463.4 MB, free: 6.488 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.2984, allocations: 0 / 463.4 MB, free: 6.488 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001028/0.2995, allocations: 0.4996 MB / 463.9 MB, free: 5.957 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001912/0.2997, allocations: 79.56 kB / 464 MB, free: 5.879 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.448e-05/0.2997, allocations: 4 kB / 464 MB, free: 5.875 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002696/0.3, allocations: 35.97 kB / 464 MB, free: 5.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001443/0.3001, allocations: 59.89 kB / 464.1 MB, free: 5.781 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.762e-05/0.3002, allocations: 8 kB / 464.1 MB, free: 5.773 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004483/0.3006, allocations: 367.1 kB / 464.5 MB, free: 5.422 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3006, allocations: 0 / 464.5 MB, free: 5.422 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000794/0.3014, allocations: 183.6 kB / 464.6 MB, free: 5.242 MB / 366.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: 11 ($whenCondition2,$whenCondition1,IdealThyristor1.off,IdealThyristor1.fire,IdealGTOThyristor1.off,booleanStep1.combiTimeTable.nextTimeEvent,booleanStep1.combiTimeTable.nextTimeEventScaled,IdealThyristor2.off,IdealGTOThyristor2.off,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 4 (IdealThyristor1.off,IdealThyristor2.off,booleanStep1.combiTimeTable.nextTimeEvent,booleanStep1.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,4), (1,4), (1,4), (1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001587/0.303, allocations: 444.3 kB / 465.1 MB, free: 4.961 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001231/0.3042, allocations: 0.7796 MB / 465.9 MB, free: 4.129 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.3042, allocations: 0 / 465.9 MB, free: 4.129 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007567/0.305, allocations: 0.6469 MB / 466.5 MB, free: 3.43 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005516/0.3055, allocations: 118.8 kB / 466.6 MB, free: 3.32 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002083/0.3076, allocations: 1.027 MB / 467.6 MB, free: 2.262 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005102/0.3081, allocations: 0.8633 MB / 468.5 MB, free: 1.371 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.718e-05/0.3082, allocations: 35.44 kB / 468.5 MB, free: 1.336 MB / 366.1 MB Notification: Performance of SimCode: time 4.4e-07/0.3082, allocations: 0 / 468.5 MB, free: 1.336 MB / 366.1 MB Notification: Performance of Templates: time 0.01889/0.3271, allocations: 14.96 MB / 483.5 MB, free: 2.402 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CharacteristicThyristors/CharacteristicThyristors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.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: 8.85220620688051]