Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001875/0.001875, allocations: 96.3 kB / 21.73 MB, free: 2.703 MB / 18.57 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.002122/0.002122, allocations: 163.9 kB / 25.02 MB, free: 8.945 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.445/1.445, allocations: 158.6 MB / 186.8 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 250.4 MB, free: 7.828 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.27e-05/3.449e-05, allocations: 5.828 kB / 250.4 MB, free: 7.824 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.006429/0.006463, allocations: 3.589 MB / 254 MB, free: 4.207 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002909/0.009372, allocations: 1.314 MB / 255.3 MB, free: 2.883 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003515/0.009724, allocations: 11.94 kB / 255.3 MB, free: 2.871 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009607/0.01068, allocations: 258.7 kB / 255.5 MB, free: 2.617 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006961/0.01138, allocations: 270.2 kB / 255.8 MB, free: 2.352 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007097/0.01209, allocations: 263.3 kB / 256.1 MB, free: 2.094 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009371/0.01303, allocations: 0.7393 MB / 256.8 MB, free: 1.352 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003/0.01333, allocations: 105.5 kB / 256.9 MB, free: 1.242 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006401/0.01397, allocations: 407 kB / 257.3 MB, free: 0.8438 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004101/0.01438, allocations: 239.3 kB / 257.5 MB, free: 0.6094 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 9.589e-05/0.01447, allocations: 52 kB / 257.6 MB, free: 0.5586 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002771/0.01475, allocations: 99.89 kB / 257.7 MB, free: 472 kB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000206/0.01496, allocations: 147.5 kB / 257.8 MB, free: 324 kB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002806/0.01524, allocations: 207.5 kB / 258 MB, free: 116 kB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001047/0.01628, allocations: 0.7203 MB / 258.7 MB, free: 15.39 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.01629, allocations: 0 / 258.7 MB, free: 15.39 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.01629, allocations: 0 / 258.7 MB, free: 15.39 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.508e-06/0.0163, allocations: 0 / 258.7 MB, free: 15.39 MB / 250.7 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.001923/0.01822, allocations: 0.8771 MB / 259.6 MB, free: 14.47 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.01827, allocations: 11.98 kB / 259.6 MB, free: 14.46 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002036/0.01848, allocations: 104.5 kB / 259.7 MB, free: 14.36 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000773/0.01925, allocations: 355.5 kB / 260.1 MB, free: 13.98 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.834e-05/0.01929, allocations: 33.38 kB / 260.1 MB, free: 13.95 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.699e-05/0.01935, allocations: 36.38 kB / 260.2 MB, free: 13.92 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008884/0.02024, allocations: 0.5235 MB / 260.7 MB, free: 13.35 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.02026, allocations: 7.875 kB / 260.7 MB, free: 13.34 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.907e-05/0.02031, allocations: 19.98 kB / 260.7 MB, free: 13.32 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.605e-05/0.02032, allocations: 12 kB / 260.7 MB, free: 13.31 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007062/0.02103, allocations: 311.8 kB / 261 MB, free: 13.01 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002739/0.02377, allocations: 1.502 MB / 262.5 MB, free: 11.43 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007488/0.02452, allocations: 342.9 kB / 262.9 MB, free: 11.09 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003482/0.02487, allocations: 160.8 kB / 263 MB, free: 10.93 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.048e-05/0.0249, allocations: 7.75 kB / 263 MB, free: 10.92 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005719/0.02547, allocations: 373.2 kB / 263.4 MB, free: 10.5 MB / 250.7 MB Notification: Performance of pre-optimization done (n=40): time 1.663e-06/0.02547, allocations: 0 / 263.4 MB, free: 10.5 MB / 250.7 MB Notification: Performance of matching and sorting (n=40): time 0.002229/0.0277, allocations: 0.7198 MB / 264.1 MB, free: 9.762 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001394/0.02784, allocations: 166.2 kB / 264.3 MB, free: 9.562 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006447/0.02848, allocations: 477.9 kB / 264.7 MB, free: 9.086 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 5.037e-05/0.02853, allocations: 41.69 kB / 264.8 MB, free: 9.039 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002782/0.02881, allocations: 256.7 kB / 265 MB, free: 8.785 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001367/0.02895, allocations: 126.9 kB / 265.2 MB, free: 8.66 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000149/0.0291, allocations: 78.19 kB / 265.2 MB, free: 8.578 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002194/0.02932, allocations: 362.7 kB / 265.6 MB, free: 8.215 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002758/0.02959, allocations: 124.9 kB / 265.7 MB, free: 8.094 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004644/0.03006, allocations: 341.5 kB / 266 MB, free: 7.695 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005499/0.03061, allocations: 273.3 kB / 266.3 MB, free: 7.418 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.03061, allocations: 0 / 266.3 MB, free: 7.418 MB / 250.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001103/0.03171, allocations: 493.3 kB / 266.8 MB, free: 6.918 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.03173, allocations: 4 kB / 266.8 MB, free: 6.914 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.03174, allocations: 0 / 266.8 MB, free: 6.914 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005811/0.03232, allocations: 167.3 kB / 267 MB, free: 6.738 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002293/0.03255, allocations: 43.95 kB / 267 MB, free: 6.695 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006234/0.03879, allocations: 6.134 MB / 273.1 MB, free: 160 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004016/0.03919, allocations: 51.91 kB / 273.2 MB, free: 108 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.002e-05/0.03922, allocations: 12 kB / 273.2 MB, free: 96 kB / 250.7 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.0003261/0.03954, allocations: 199.7 kB / 273.4 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/0.03966, allocations: 63.67 kB / 273.5 MB, free: 15.83 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001234/0.0409, allocations: 0.4969 MB / 273.9 MB, free: 15.31 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/0.04091, allocations: 4 kB / 274 MB, free: 15.31 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.04091, allocations: 7.938 kB / 274 MB, free: 15.3 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.04091, allocations: 0 / 274 MB, free: 15.3 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005112/0.04143, allocations: 356.7 kB / 274.3 MB, free: 14.92 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.736e-06/0.04143, allocations: 0 / 274.3 MB, free: 14.92 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001433/0.04157, allocations: 23.98 kB / 274.3 MB, free: 14.9 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000478/0.04205, allocations: 167.3 kB / 274.5 MB, free: 14.72 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.767e-05/0.04208, allocations: 8 kB / 274.5 MB, free: 14.71 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006029/0.04811, allocations: 5.847 MB / 280.3 MB, free: 8.461 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.04811, allocations: 0 / 280.3 MB, free: 8.461 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001157/0.04926, allocations: 0.5117 MB / 280.9 MB, free: 7.918 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001987/0.04946, allocations: 83.72 kB / 280.9 MB, free: 7.836 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.521e-05/0.04953, allocations: 4 kB / 280.9 MB, free: 7.832 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003679/0.0499, allocations: 35.97 kB / 281 MB, free: 7.797 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000164/0.05006, allocations: 51.69 kB / 281 MB, free: 7.746 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.339e-05/0.05009, allocations: 12 kB / 281 MB, free: 7.734 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005145/0.05061, allocations: 347.1 kB / 281.4 MB, free: 7.398 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.05061, allocations: 4 kB / 281.4 MB, free: 7.395 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008446/0.05145, allocations: 167.7 kB / 281.5 MB, free: 7.23 MB / 266.7 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.002116/0.05357, allocations: 484.2 kB / 282 MB, free: 6.809 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001349/0.05492, allocations: 0.7939 MB / 282.8 MB, free: 5.965 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.05492, allocations: 0 / 282.8 MB, free: 5.965 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008824/0.0558, allocations: 0.6349 MB / 283.5 MB, free: 5.277 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005836/0.05639, allocations: 125.5 kB / 283.6 MB, free: 5.156 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002249/0.05864, allocations: 0.965 MB / 284.5 MB, free: 4.156 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003193/0.05896, allocations: 262.9 kB / 284.8 MB, free: 3.879 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001955/0.05915, allocations: 47.28 kB / 284.8 MB, free: 3.828 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.996e-05/0.05925, allocations: 40.48 kB / 284.9 MB, free: 3.789 MB / 266.7 MB Notification: Performance of SimCode: time 7.91e-07/0.05925, allocations: 0 / 284.9 MB, free: 3.789 MB / 266.7 MB Notification: Performance of Templates: time 0.01883/0.07808, allocations: 9.039 MB / 293.9 MB, free: 10.73 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CharacteristicThyristors/CharacteristicThyristors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 4.856911156908609]