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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009264/0.0009265, allocations: 96.16 kB / 16.96 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000981/0.0009811, allocations: 181.2 kB / 17.84 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.795/1.795, allocations: 205.4 MB / 224 MB, free: 13.15 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000495/0.000495, allocations: 8 kB / 280.8 MB, free: 3.746 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1126, allocations: 47.59 MB / 328.4 MB, free: 4.086 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.004054/0.1167, allocations: 3.379 MB / 331.7 MB, free: 0.6875 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002301/0.119, allocations: 1.283 MB / 333 MB, free: 15.39 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002184/0.1193, allocations: 8 kB / 333 MB, free: 15.39 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007682/0.12, allocations: 227.1 kB / 333.2 MB, free: 15.16 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004649/0.1205, allocations: 214.7 kB / 333.5 MB, free: 14.95 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005655/0.1211, allocations: 211.6 kB / 333.7 MB, free: 14.75 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006747/0.1218, allocations: 0.6422 MB / 334.3 MB, free: 14.1 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002837/0.1221, allocations: 144.3 kB / 334.4 MB, free: 13.95 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003081/0.1224, allocations: 239 kB / 334.7 MB, free: 13.72 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003052/0.1227, allocations: 258.9 kB / 334.9 MB, free: 13.46 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.262e-05/0.1228, allocations: 24 kB / 335 MB, free: 13.44 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001812/0.1229, allocations: 63.97 kB / 335 MB, free: 13.38 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001393/0.1231, allocations: 115.5 kB / 335.1 MB, free: 13.27 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001309/0.1232, allocations: 129.4 kB / 335.3 MB, free: 13.13 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004959/0.1237, allocations: 0.5028 MB / 335.8 MB, free: 12.63 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1237, allocations: 0 / 335.8 MB, free: 12.63 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1238, allocations: 0 / 335.8 MB, free: 12.63 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.1238, allocations: 0 / 335.8 MB, free: 12.63 MB / 286.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.001516/0.1253, allocations: 0.8634 MB / 336.6 MB, free: 11.71 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/0.1253, allocations: 8.031 kB / 336.6 MB, free: 11.7 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001259/0.1255, allocations: 63.25 kB / 336.7 MB, free: 11.64 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005602/0.126, allocations: 393.8 kB / 337.1 MB, free: 11.21 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.038e-05/0.1261, allocations: 29 kB / 337.1 MB, free: 11.18 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.145e-05/0.1262, allocations: 43.98 kB / 337.2 MB, free: 11.14 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007556/0.1269, allocations: 437.6 kB / 337.6 MB, free: 10.69 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.937e-05/0.1269, allocations: 3.938 kB / 337.6 MB, free: 10.69 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.598e-05/0.127, allocations: 16 kB / 337.6 MB, free: 10.67 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.307e-05/0.127, allocations: 8 kB / 337.6 MB, free: 10.66 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006414/0.1277, allocations: 315.8 kB / 337.9 MB, free: 10.36 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002508/0.1302, allocations: 1.718 MB / 339.6 MB, free: 8.539 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007912/0.131, allocations: 367.1 kB / 340 MB, free: 8.172 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003608/0.1314, allocations: 196.2 kB / 340.2 MB, free: 7.977 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.538e-05/0.1314, allocations: 4 kB / 340.2 MB, free: 7.973 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004903/0.1319, allocations: 262.4 kB / 340.4 MB, free: 7.688 MB / 286.1 MB Notification: Performance of pre-optimization done (n=40): time 1.934e-06/0.1319, allocations: 0 / 340.4 MB, free: 7.688 MB / 286.1 MB Notification: Performance of matching and sorting (n=40): time 0.002165/0.1341, allocations: 1.028 MB / 341.5 MB, free: 6.566 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001271/0.1342, allocations: 187.9 kB / 341.7 MB, free: 6.34 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005836/0.1348, allocations: 497.9 kB / 342.1 MB, free: 5.836 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.811e-05/0.1349, allocations: 37.7 kB / 342.2 MB, free: 5.793 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002098/0.1351, allocations: 256.4 kB / 342.4 MB, free: 5.539 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/0.1352, allocations: 118.3 kB / 342.5 MB, free: 5.422 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.092e-05/0.1352, allocations: 8 kB / 342.6 MB, free: 5.414 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.1354, allocations: 362.7 kB / 342.9 MB, free: 5.051 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002484/0.1357, allocations: 124.8 kB / 343 MB, free: 4.93 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003261/0.136, allocations: 217.2 kB / 343.2 MB, free: 4.684 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002707/0.1363, allocations: 129.8 kB / 343.4 MB, free: 4.559 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.1363, allocations: 0 / 343.4 MB, free: 4.559 MB / 286.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008043/0.1371, allocations: 480.8 kB / 343.8 MB, free: 4.07 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.1371, allocations: 4 kB / 343.8 MB, free: 4.066 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.427e-06/0.1372, allocations: 4 kB / 343.8 MB, free: 4.062 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005285/0.1377, allocations: 155.3 kB / 344 MB, free: 3.898 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002076/0.1379, allocations: 47.92 kB / 344 MB, free: 3.852 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005313/0.1432, allocations: 5.954 MB / 350 MB, free: 13.37 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003445/0.1436, allocations: 59.77 kB / 350.1 MB, free: 13.31 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.504e-05/0.1436, allocations: 19.98 kB / 350.1 MB, free: 13.29 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 ($whenCondition2,$PRE.booleanStep1.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.IdealThyristor1.off,IdealThyristor1.off,IdealThyristor1.fire,IdealGTOThyristor1.off,booleanStep1.combiTimeTable.nextTimeEvent,$PRE.booleanStep1.combiTimeTable.nextTimeEventScaled,booleanStep1.combiTimeTable.nextTimeEventScaled,$PRE.IdealThyristor2.off,IdealThyristor2.off,IdealGTOThyristor2.off,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002814/0.1439, allocations: 188 kB / 350.3 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.669e-05/0.144, allocations: 55.53 kB / 350.3 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001128/0.1441, allocations: 52.77 kB / 350.4 MB, free: 12.99 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.1441, allocations: 8 kB / 350.4 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/0.1442, allocations: 11.94 kB / 350.4 MB, free: 12.97 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.1442, allocations: 0 / 350.4 MB, free: 12.97 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005345/0.1447, allocations: 0.4894 MB / 350.9 MB, free: 12.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.1447, allocations: 3.938 kB / 350.9 MB, free: 12.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001238/0.1449, allocations: 27.92 kB / 350.9 MB, free: 12.4 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003888/0.1453, allocations: 155.3 kB / 351.1 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.301e-05/0.1453, allocations: 8 kB / 351.1 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004823/0.1501, allocations: 5.788 MB / 356.9 MB, free: 5.898 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1501, allocations: 0 / 356.9 MB, free: 5.898 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009405/0.1511, allocations: 0.5125 MB / 357.4 MB, free: 5.355 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002271/0.1513, allocations: 164.3 kB / 357.5 MB, free: 5.176 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.155e-05/0.1514, allocations: 12 kB / 357.5 MB, free: 5.164 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002967/0.1517, allocations: 39.97 kB / 357.6 MB, free: 5.125 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001478/0.1519, allocations: 51.88 kB / 357.6 MB, free: 5.074 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.28e-05/0.1519, allocations: 15.98 kB / 357.6 MB, free: 5.059 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004394/0.1524, allocations: 355.1 kB / 358 MB, free: 4.715 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1524, allocations: 0 / 358 MB, free: 4.715 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008464/0.1532, allocations: 163.8 kB / 358.1 MB, free: 4.555 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001146/0.1544, allocations: 441.5 kB / 358.6 MB, free: 4.129 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00127/0.1557, allocations: 0.7952 MB / 359.4 MB, free: 3.281 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.1557, allocations: 0 / 359.4 MB, free: 3.281 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007521/0.1565, allocations: 0.647 MB / 360 MB, free: 2.582 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006412/0.1571, allocations: 117.9 kB / 360.1 MB, free: 2.469 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002162/0.1593, allocations: 1.126 MB / 361.3 MB, free: 1.316 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005495/0.1598, allocations: 0.867 MB / 362.1 MB, free: 436 kB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002125/0.1601, allocations: 52.16 kB / 362.2 MB, free: 380 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.306e-05/0.1602, allocations: 31.44 kB / 362.2 MB, free: 348 kB / 302.1 MB Notification: Performance of SimCode: time 4.7e-07/0.1602, allocations: 0 / 362.2 MB, free: 348 kB / 302.1 MB Notification: Performance of Templates: time 0.01625/0.1764, allocations: 8.417 MB / 370.6 MB, free: 7.91 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.makefile (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) 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","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches