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.001262/0.001262, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 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.001221/0.001221, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 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.046/1.046, allocations: 177 MB / 204.8 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] 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 1.453e-06/1.453e-06, allocations: 0 / 272.9 MB, free: 1.461 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.568e-05/2.713e-05, allocations: 4.984 kB / 272.9 MB, free: 1.457 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.003991/0.004018, allocations: 3.99 MB / 276.9 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002468/0.006487, allocations: 1.593 MB / 278.5 MB, free: 11.84 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003432/0.00683, allocations: 11.94 kB / 278.5 MB, free: 11.82 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007532/0.007583, allocations: 258.7 kB / 278.8 MB, free: 11.57 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000706/0.008289, allocations: 317.9 kB / 279.1 MB, free: 11.26 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005815/0.008871, allocations: 275.2 kB / 279.3 MB, free: 10.99 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007479/0.009619, allocations: 0.7511 MB / 280.1 MB, free: 10.23 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002313/0.00985, allocations: 117.5 kB / 280.2 MB, free: 10.11 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005573/0.01041, allocations: 415.1 kB / 280.6 MB, free: 9.707 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003127/0.01072, allocations: 239.3 kB / 280.9 MB, free: 9.473 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.475e-05/0.01078, allocations: 52 kB / 280.9 MB, free: 9.422 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002014/0.01099, allocations: 111.8 kB / 281 MB, free: 9.312 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001332/0.01112, allocations: 147.5 kB / 281.2 MB, free: 9.168 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001717/0.01129, allocations: 199.5 kB / 281.4 MB, free: 8.973 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005891/0.01188, allocations: 0.5176 MB / 281.9 MB, free: 8.453 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.01188, allocations: 0 / 281.9 MB, free: 8.453 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.01189, allocations: 0 / 281.9 MB, free: 8.453 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.737e-06/0.01189, allocations: 4 kB / 281.9 MB, free: 8.449 MB / 266.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.0012/0.01309, allocations: 0.9926 MB / 282.9 MB, free: 7.414 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.01313, allocations: 11.98 kB / 282.9 MB, free: 7.402 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002102/0.01334, allocations: 108.5 kB / 283 MB, free: 7.297 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004138/0.01376, allocations: 363.1 kB / 283.3 MB, free: 6.91 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.334e-05/0.01379, allocations: 33.36 kB / 283.4 MB, free: 6.879 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.743e-05/0.01383, allocations: 40.38 kB / 283.4 MB, free: 6.84 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004836/0.01431, allocations: 466.2 kB / 283.9 MB, free: 6.328 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.01432, allocations: 4.188 kB / 283.9 MB, free: 6.324 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.07e-05/0.01435, allocations: 16.38 kB / 283.9 MB, free: 6.309 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.01437, allocations: 11.94 kB / 283.9 MB, free: 6.297 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002622/0.01463, allocations: 173.8 kB / 284.1 MB, free: 6.133 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001576/0.0162, allocations: 1.688 MB / 285.8 MB, free: 4.355 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004427/0.01665, allocations: 284.1 kB / 286 MB, free: 4.066 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001625/0.01681, allocations: 111.6 kB / 286.1 MB, free: 3.953 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.615e-05/0.01683, allocations: 11.75 kB / 286.2 MB, free: 3.941 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003139/0.01715, allocations: 333 kB / 286.5 MB, free: 3.555 MB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 1.874e-06/0.01715, allocations: 0 / 286.5 MB, free: 3.555 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.001086/0.01824, allocations: 0.599 MB / 287.1 MB, free: 2.934 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.934e-05/0.01831, allocations: 158.2 kB / 287.2 MB, free: 2.742 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003497/0.01866, allocations: 470.6 kB / 287.7 MB, free: 2.266 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.754e-05/0.01868, allocations: 33.7 kB / 287.7 MB, free: 2.227 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001509/0.01883, allocations: 311.4 kB / 288 MB, free: 1.918 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.312e-05/0.01891, allocations: 127 kB / 288.2 MB, free: 1.793 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.793e-05/0.01901, allocations: 87.8 kB / 288.2 MB, free: 1.699 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.01914, allocations: 0.5274 MB / 288.8 MB, free: 1.16 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001108/0.01926, allocations: 64.95 kB / 288.8 MB, free: 1.098 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001994/0.01945, allocations: 299 kB / 289.1 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002304/0.01969, allocations: 196.6 kB / 289.3 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.01969, allocations: 4 kB / 289.3 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004597/0.02015, allocations: 380.4 kB / 289.7 MB, free: 132 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.02017, allocations: 4 kB / 289.7 MB, free: 128 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.02017, allocations: 0 / 289.7 MB, free: 128 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003346/0.02051, allocations: 146.6 kB / 289.8 MB, free: 15.96 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001477/0.02065, allocations: 55.97 kB / 289.9 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004055/0.02471, allocations: 8.233 MB / 298.1 MB, free: 7.199 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002352/0.02494, allocations: 55.69 kB / 298.2 MB, free: 7.145 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.122e-05/0.02497, allocations: 12 kB / 298.2 MB, free: 7.133 MB / 282.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.0001621/0.02513, allocations: 182.5 kB / 298.4 MB, free: 6.941 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.663e-05/0.02519, allocations: 71.64 kB / 298.4 MB, free: 6.871 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005705/0.02576, allocations: 404.5 kB / 298.8 MB, free: 6.453 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.02577, allocations: 8 kB / 298.8 MB, free: 6.445 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.02577, allocations: 0 / 298.8 MB, free: 6.445 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.02578, allocations: 0 / 298.8 MB, free: 6.445 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003306/0.02611, allocations: 356.2 kB / 299.2 MB, free: 6.062 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-06/0.02611, allocations: 48 / 299.2 MB, free: 6.062 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.136e-05/0.02619, allocations: 35.97 kB / 299.2 MB, free: 6.027 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005531/0.02675, allocations: 142.6 kB / 299.4 MB, free: 5.871 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.006e-05/0.02677, allocations: 4 kB / 299.4 MB, free: 5.867 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1223/0.149, allocations: 7.77 MB / 307.1 MB, free: 34.43 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/0.1491, allocations: 4 kB / 307.1 MB, free: 34.43 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007006/0.1498, allocations: 461.2 kB / 307.6 MB, free: 34.29 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001598/0.1499, allocations: 83.48 kB / 307.7 MB, free: 34.29 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.744e-05/0.15, allocations: 10.67 kB / 307.7 MB, free: 34.29 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001493/0.1501, allocations: 31.44 kB / 307.7 MB, free: 34.29 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001516/0.1503, allocations: 53.25 kB / 307.8 MB, free: 34.29 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.757e-05/0.1503, allocations: 13.62 kB / 307.8 MB, free: 34.29 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002695/0.1506, allocations: 309.6 kB / 308.1 MB, free: 34.16 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1506, allocations: 1 kB / 308.1 MB, free: 34.16 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007332/0.1513, allocations: 170.4 kB / 308.2 MB, free: 34.16 MB / 282.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.0009379/0.1522, allocations: 410.8 kB / 308.6 MB, free: 34.07 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000809/0.153, allocations: 0.9366 MB / 309.6 MB, free: 33.37 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.153, allocations: 0.6562 kB / 309.6 MB, free: 33.37 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005558/0.1536, allocations: 0.8283 MB / 310.4 MB, free: 32.68 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004687/0.1541, allocations: 117.4 kB / 310.5 MB, free: 32.67 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001757/0.1558, allocations: 0.9147 MB / 311.4 MB, free: 32.25 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001136/0.1559, allocations: 132.4 kB / 311.6 MB, free: 32.18 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000175/0.1561, allocations: 44.42 kB / 311.6 MB, free: 32.17 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.396e-05/0.1562, allocations: 35.72 kB / 311.6 MB, free: 32.16 MB / 282.7 MB Notification: Performance of SimCode: time 1.723e-06/0.1562, allocations: 1.062 kB / 311.7 MB, free: 32.16 MB / 282.7 MB Notification: Performance of Templates: time 0.01556/0.1717, allocations: 9.664 MB / 321.3 MB, free: 29.36 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CharacteristicThyristors/CharacteristicThyristors.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1414913963526487]