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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|IdealThyristor1.off|IdealThyristor2.off|booleanStep1.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001686/0.001686, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001534/0.001534, allocations: 199.5 kB / 19.36 MB, free: 3.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.524/1.524, allocations: 227.4 MB / 247.5 MB, free: 10.37 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001263, allocations: 65.17 kB / 308.4 MB, free: 15.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1346, allocations: 50.52 MB / 358.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.005593/0.1402, allocations: 4.002 MB / 362.9 MB, free: 9.332 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003122/0.1434, allocations: 1.609 MB / 364.5 MB, free: 7.715 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003019/0.1437, allocations: 7.938 kB / 364.5 MB, free: 7.707 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009234/0.1447, allocations: 250.8 kB / 364.8 MB, free: 7.461 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007586/0.1454, allocations: 302.1 kB / 365.1 MB, free: 7.164 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007868/0.1462, allocations: 267.3 kB / 365.3 MB, free: 6.902 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000803/0.1471, allocations: 0.7318 MB / 366.1 MB, free: 6.168 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003343/0.1474, allocations: 172.8 kB / 366.2 MB, free: 5.988 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000438/0.1478, allocations: 283 kB / 366.5 MB, free: 5.711 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003536/0.1482, allocations: 298.8 kB / 366.8 MB, free: 5.418 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.06e-05/0.1483, allocations: 52 kB / 366.8 MB, free: 5.367 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000246/0.1486, allocations: 111.9 kB / 366.9 MB, free: 5.258 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001713/0.1487, allocations: 143.5 kB / 367.1 MB, free: 5.117 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002826/0.149, allocations: 298.5 kB / 367.4 MB, free: 4.824 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008013/0.1498, allocations: 0.7201 MB / 368.1 MB, free: 4.102 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.296e-06/0.1499, allocations: 0 / 368.1 MB, free: 4.102 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1499, allocations: 0 / 368.1 MB, free: 4.102 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.157e-05/0.1499, allocations: 0 / 368.1 MB, free: 4.102 MB / 302.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.001819/0.1517, allocations: 0.9453 MB / 369 MB, free: 3.098 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.1518, allocations: 12.03 kB / 369.1 MB, free: 3.086 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002588/0.152, allocations: 76.09 kB / 369.1 MB, free: 3.012 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006149/0.1527, allocations: 422.8 kB / 369.5 MB, free: 2.559 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.448e-05/0.1527, allocations: 29.38 kB / 369.6 MB, free: 2.531 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.169e-05/0.1528, allocations: 44.12 kB / 369.6 MB, free: 2.488 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007381/0.1535, allocations: 449.5 kB / 370.1 MB, free: 2.023 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.1536, allocations: 0 / 370.1 MB, free: 2.023 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.38e-05/0.1536, allocations: 20 kB / 370.1 MB, free: 2.004 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.276e-05/0.1536, allocations: 8 kB / 370.1 MB, free: 1.996 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005957/0.1542, allocations: 307.8 kB / 370.4 MB, free: 1.695 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2667/0.4209, allocations: 1.7 MB / 372.1 MB, free: 19.99 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001328/0.4223, allocations: 372.2 kB / 372.4 MB, free: 19.96 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004996/0.4229, allocations: 185.6 kB / 372.6 MB, free: 19.95 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.511e-05/0.4229, allocations: 10.47 kB / 372.6 MB, free: 19.95 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007307/0.4237, allocations: 254.4 kB / 372.9 MB, free: 19.86 MB / 302.1 MB Notification: Performance of pre-optimization done (n=40): time 3.556e-06/0.4237, allocations: 0 / 372.9 MB, free: 19.86 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.002872/0.4266, allocations: 1.019 MB / 373.9 MB, free: 19.41 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001261/0.4267, allocations: 188.4 kB / 374.1 MB, free: 19.19 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001207/0.4279, allocations: 0.5091 MB / 374.6 MB, free: 19.04 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.046e-05/0.428, allocations: 36.89 kB / 374.6 MB, free: 19 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003108/0.4283, allocations: 262.4 kB / 374.9 MB, free: 18.83 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001536/0.4285, allocations: 119 kB / 375 MB, free: 18.75 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001983/0.4287, allocations: 80.19 kB / 375.1 MB, free: 18.71 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002065/0.4289, allocations: 361.7 kB / 375.4 MB, free: 18.38 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00038/0.4293, allocations: 119.7 kB / 375.6 MB, free: 18.33 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004914/0.4298, allocations: 214.7 kB / 375.8 MB, free: 18.19 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006845/0.4305, allocations: 268.9 kB / 376 MB, free: 18.05 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.4305, allocations: 0 / 376 MB, free: 18.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009775/0.4315, allocations: 477.3 kB / 376.5 MB, free: 17.83 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.224e-05/0.4315, allocations: 6.703 kB / 376.5 MB, free: 17.83 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.4316, allocations: 7.562 kB / 376.5 MB, free: 17.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000624/0.4322, allocations: 156.8 kB / 376.7 MB, free: 17.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000253/0.4325, allocations: 44.72 kB / 376.7 MB, free: 17.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005169/0.4376, allocations: 6.645 MB / 383.4 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005484/0.4382, allocations: 53.27 kB / 383.4 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.296e-05/0.4383, allocations: 15.16 kB / 383.4 MB, free: 11.27 MB / 302.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.0003942/0.4387, allocations: 196 kB / 383.6 MB, free: 11.12 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001148/0.4388, allocations: 52.69 kB / 383.7 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001359/0.4389, allocations: 62.47 kB / 383.7 MB, free: 11.05 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.403e-06/0.439, allocations: 4.719 kB / 383.7 MB, free: 11.05 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.819e-06/0.439, allocations: 0 / 383.7 MB, free: 11.05 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.439, allocations: 2.203 kB / 383.7 MB, free: 11.05 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007665/0.4398, allocations: 0.4929 MB / 384.2 MB, free: 10.74 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.4398, allocations: 6.109 kB / 384.2 MB, free: 10.74 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001412/0.4399, allocations: 22.69 kB / 384.2 MB, free: 10.74 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004933/0.4404, allocations: 162.3 kB / 384.4 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.521e-05/0.4405, allocations: 6.672 kB / 384.4 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004231/0.4447, allocations: 6.356 MB / 390.8 MB, free: 4.469 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.4447, allocations: 0 / 390.8 MB, free: 4.469 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001056/0.4458, allocations: 0.5072 MB / 391.3 MB, free: 4.199 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002139/0.446, allocations: 152.8 kB / 391.4 MB, free: 4.062 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.525e-05/0.4461, allocations: 9.281 kB / 391.4 MB, free: 4.059 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000281/0.4464, allocations: 32.86 kB / 391.5 MB, free: 4.051 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001915/0.4466, allocations: 56.55 kB / 391.5 MB, free: 4.035 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-05/0.4466, allocations: 13.83 kB / 391.5 MB, free: 4.031 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005074/0.4471, allocations: 368.2 kB / 391.9 MB, free: 3.867 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.062e-06/0.4471, allocations: 0 / 391.9 MB, free: 3.867 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000921/0.4481, allocations: 171.3 kB / 392.1 MB, free: 3.836 MB / 302.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,booleanStep1.combiTimeTable.nextTimeEventScaled,IdealThyristor2.off,booleanStep1.combiTimeTable.nextTimeEvent) * 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.001096/0.4492, allocations: 441.7 kB / 392.5 MB, free: 3.633 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001245/0.4504, allocations: 0.8101 MB / 393.3 MB, free: 3.047 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.4505, allocations: 192 / 393.3 MB, free: 3.047 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007027/0.4512, allocations: 0.6646 MB / 394 MB, free: 2.504 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005964/0.4518, allocations: 120.9 kB / 394.1 MB, free: 2.449 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00213/0.4539, allocations: 0.967 MB / 395.1 MB, free: 1.953 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004319/0.4544, allocations: 0.8645 MB / 395.9 MB, free: 1.242 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002195/0.4546, allocations: 49.19 kB / 396 MB, free: 1.23 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.79e-05/0.4547, allocations: 32.8 kB / 396 MB, free: 1.223 MB / 302.1 MB Notification: Performance of SimCode: time 8.62e-07/0.4547, allocations: 0 / 396 MB, free: 1.223 MB / 302.1 MB Notification: Performance of Templates: time 0.02086/0.4756, allocations: 9.572 MB / 405.6 MB, free: 13.66 MB / 318.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.makefile (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 -s cvode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches