Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.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.00176/0.00176, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001998/0.001998, allocations: 209.9 kB / 24.48 MB, free: 3.934 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.507/1.507, allocations: 230.5 MB / 258.1 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Electrical.Analog.Examples.CharacteristicThyristors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5052,variableFilter="time|IdealThyristor1.off|IdealThyristor2.off|booleanStep1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 67.88 kB / 379 MB, free: 2.301 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2645/0.2665, allocations: 53.41 MB / 432.4 MB, free: 6.488 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.006125/0.2726, allocations: 3.657 MB / 436.1 MB, free: 2.82 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003704/0.2763, allocations: 1.554 MB / 437.6 MB, free: 1.258 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003693/0.2767, allocations: 11.94 kB / 437.6 MB, free: 1.246 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000845/0.2775, allocations: 254.7 kB / 437.9 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007347/0.2783, allocations: 302.2 kB / 438.2 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006705/0.2789, allocations: 271.3 kB / 438.4 MB, free: 444 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008353/0.2798, allocations: 0.7357 MB / 439.2 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000252/0.28, allocations: 109.4 kB / 439.3 MB, free: 15.58 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004197/0.2804, allocations: 287 kB / 439.6 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003865/0.2808, allocations: 286.7 kB / 439.8 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.379e-05/0.2809, allocations: 52 kB / 439.9 MB, free: 14.97 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002554/0.2812, allocations: 108 kB / 440 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001688/0.2813, allocations: 151.4 kB / 440.1 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002563/0.2816, allocations: 242.8 kB / 440.4 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008734/0.2825, allocations: 0.731 MB / 441.1 MB, free: 13.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.2825, allocations: 0 / 441.1 MB, free: 13.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2825, allocations: 0 / 441.1 MB, free: 13.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.028e-05/0.2825, allocations: 0 / 441.1 MB, free: 13.75 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.2842, allocations: 0.8927 MB / 442 MB, free: 12.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.2842, allocations: 11.98 kB / 442 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002256/0.2844, allocations: 80.5 kB / 442.1 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006252/0.2851, allocations: 360.3 kB / 442.4 MB, free: 12.35 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.05e-05/0.2851, allocations: 33.38 kB / 442.5 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.112e-05/0.2852, allocations: 36.38 kB / 442.5 MB, free: 12.28 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008243/0.286, allocations: 0.5311 MB / 443 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.176e-05/0.286, allocations: 11.88 kB / 443.1 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.1e-05/0.2861, allocations: 16 kB / 443.1 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.2861, allocations: 8 kB / 443.1 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006239/0.2867, allocations: 319.8 kB / 443.4 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002409/0.2891, allocations: 1.478 MB / 444.9 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006782/0.2898, allocations: 331.8 kB / 445.2 MB, free: 9.465 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003224/0.2901, allocations: 165.4 kB / 445.4 MB, free: 9.301 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.845e-05/0.2901, allocations: 4 kB / 445.4 MB, free: 9.297 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005468/0.2907, allocations: 369.1 kB / 445.7 MB, free: 8.883 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 1.954e-06/0.2907, allocations: 0 / 445.7 MB, free: 8.883 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.00208/0.2928, allocations: 0.709 MB / 446.4 MB, free: 8.156 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/0.2929, allocations: 158.2 kB / 446.6 MB, free: 7.965 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006104/0.2935, allocations: 0.4901 MB / 447.1 MB, free: 7.469 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.283e-05/0.2935, allocations: 37.69 kB / 447.1 MB, free: 7.426 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002237/0.2937, allocations: 260.7 kB / 447.4 MB, free: 7.164 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001182/0.2939, allocations: 135 kB / 447.5 MB, free: 7.031 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/0.294, allocations: 74.08 kB / 447.6 MB, free: 6.953 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001865/0.2942, allocations: 362.7 kB / 447.9 MB, free: 6.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002582/0.2944, allocations: 120.8 kB / 448 MB, free: 6.473 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004185/0.2948, allocations: 336.9 kB / 448.4 MB, free: 6.082 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005078/0.2954, allocations: 285 kB / 448.6 MB, free: 5.793 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.2954, allocations: 4 kB / 448.7 MB, free: 5.789 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000863/0.2962, allocations: 476.9 kB / 449.1 MB, free: 5.305 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.2962, allocations: 4 kB / 449.1 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.2962, allocations: 4 kB / 449.1 MB, free: 5.297 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005331/0.2968, allocations: 151.3 kB / 449.3 MB, free: 5.137 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002245/0.297, allocations: 51.91 kB / 449.3 MB, free: 5.086 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005474/0.3025, allocations: 6.126 MB / 455.5 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004261/0.3029, allocations: 55.78 kB / 455.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.999e-05/0.3029, allocations: 12 kB / 455.5 MB, free: 14.49 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.0002935/0.3032, allocations: 199.3 kB / 455.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.153e-05/0.3033, allocations: 51.67 kB / 455.8 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001072/0.3044, allocations: 0.4931 MB / 456.3 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/0.3044, allocations: 7.938 kB / 456.3 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.3044, allocations: 4.125 kB / 456.3 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.3044, allocations: 3.984 kB / 456.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004764/0.3049, allocations: 349 kB / 456.6 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.3049, allocations: 0 / 456.6 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001407/0.305, allocations: 31.97 kB / 456.6 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004333/0.3055, allocations: 155.3 kB / 456.8 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.809e-05/0.3055, allocations: 11.98 kB / 456.8 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005169/0.3106, allocations: 5.832 MB / 462.6 MB, free: 6.898 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.3106, allocations: 4.031 kB / 462.6 MB, free: 6.895 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001067/0.3117, allocations: 0.5114 MB / 463.2 MB, free: 6.352 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002002/0.3119, allocations: 75.56 kB / 463.2 MB, free: 6.277 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.166e-05/0.312, allocations: 12 kB / 463.2 MB, free: 6.266 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002865/0.3123, allocations: 27.97 kB / 463.3 MB, free: 6.238 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001425/0.3124, allocations: 55.91 kB / 463.3 MB, free: 6.184 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.115e-05/0.3124, allocations: 16.17 kB / 463.3 MB, free: 6.168 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004438/0.3129, allocations: 355.1 kB / 463.7 MB, free: 5.824 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3129, allocations: 3.938 kB / 463.7 MB, free: 5.82 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008039/0.3137, allocations: 179.7 kB / 463.9 MB, free: 5.645 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 (25): * Single equations (assignments): 18 * 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.001662/0.3153, allocations: 460 kB / 464.3 MB, free: 5.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001286/0.3166, allocations: 0.7872 MB / 465.1 MB, free: 4.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.3166, allocations: 0 / 465.1 MB, free: 4.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007802/0.3174, allocations: 0.6431 MB / 465.7 MB, free: 3.805 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005446/0.318, allocations: 105 kB / 465.8 MB, free: 3.707 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002133/0.3201, allocations: 1.031 MB / 466.9 MB, free: 2.645 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002843/0.3204, allocations: 271.4 kB / 467.1 MB, free: 2.348 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/0.3205, allocations: 27.44 kB / 467.2 MB, free: 2.32 MB / 366.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3205, allocations: 4 kB / 467.2 MB, free: 2.316 MB / 366.1 MB Notification: Performance of Templates: time 0.01892/0.3394, allocations: 14.95 MB / 482.1 MB, free: 3.379 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 9.257426944095641]