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.001027/0.001031, allocations: 95.27 kB / 16.94 MB, free: 5.98 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.00101/0.00101, allocations: 183.7 kB / 17.82 MB, free: 5.645 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.56/1.56, allocations: 205.4 MB / 224 MB, free: 13.16 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.0004454/0.0004455, allocations: 15.28 kB / 280.7 MB, free: 3.754 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1096, allocations: 47.59 MB / 328.3 MB, free: 4.094 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.00414/0.1138, allocations: 3.166 MB / 331.5 MB, free: 0.9102 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002548/0.1164, allocations: 1.303 MB / 332.8 MB, free: 15.6 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002915/0.1167, allocations: 7.938 kB / 332.8 MB, free: 15.59 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007618/0.1175, allocations: 207.2 kB / 333 MB, free: 15.39 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006458/0.1181, allocations: 287.1 kB / 333.3 MB, free: 15.11 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006148/0.1187, allocations: 191.6 kB / 333.5 MB, free: 14.92 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00062/0.1194, allocations: 479.4 kB / 333.9 MB, free: 14.45 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002548/0.1196, allocations: 136.3 kB / 334.1 MB, free: 14.31 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000322/0.12, allocations: 239.2 kB / 334.3 MB, free: 14.07 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003046/0.1203, allocations: 254.9 kB / 334.6 MB, free: 13.82 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.067e-05/0.1204, allocations: 24 kB / 334.6 MB, free: 13.8 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001882/0.1205, allocations: 55.92 kB / 334.6 MB, free: 13.75 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001313/0.1207, allocations: 115.6 kB / 334.8 MB, free: 13.63 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001343/0.1208, allocations: 129.4 kB / 334.9 MB, free: 13.5 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005129/0.1213, allocations: 0.4989 MB / 335.4 MB, free: 13 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.1214, allocations: 0 / 335.4 MB, free: 13 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1214, allocations: 0 / 335.4 MB, free: 13 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.184e-05/0.1214, allocations: 0 / 335.4 MB, free: 13 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.001514/0.1229, allocations: 0.8595 MB / 336.2 MB, free: 12.08 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.123, allocations: 12.03 kB / 336.2 MB, free: 12.07 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001157/0.1231, allocations: 67.25 kB / 336.3 MB, free: 12 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005639/0.1237, allocations: 393.8 kB / 336.7 MB, free: 11.58 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4e-05/0.1237, allocations: 33 kB / 336.7 MB, free: 11.55 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.869e-05/0.1238, allocations: 40 kB / 336.8 MB, free: 11.51 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007434/0.1245, allocations: 433.6 kB / 337.2 MB, free: 11.06 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.1246, allocations: 3.938 kB / 337.2 MB, free: 11.06 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.374e-05/0.1246, allocations: 20 kB / 337.2 MB, free: 11.04 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.684e-05/0.1246, allocations: 8 kB / 337.2 MB, free: 11.03 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005848/0.1252, allocations: 315.8 kB / 337.5 MB, free: 10.72 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002494/0.1277, allocations: 1.722 MB / 339.3 MB, free: 8.902 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006745/0.1284, allocations: 367.1 kB / 339.6 MB, free: 8.535 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.057e-05/0.1285, allocations: 4 kB / 339.6 MB, free: 8.531 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004449/0.1289, allocations: 263 kB / 339.9 MB, free: 8.246 MB / 286.1 MB Notification: Performance of pre-optimization done (n=40): time 2.114e-06/0.1289, allocations: 0 / 339.9 MB, free: 8.246 MB / 286.1 MB Notification: Performance of matching and sorting (n=40): time 0.002146/0.1311, allocations: 1.025 MB / 340.9 MB, free: 7.129 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/0.1312, allocations: 187.9 kB / 341.1 MB, free: 6.902 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005914/0.1318, allocations: 497.9 kB / 341.6 MB, free: 6.398 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.497e-05/0.1319, allocations: 37.7 kB / 341.6 MB, free: 6.355 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002032/0.1321, allocations: 252.4 kB / 341.9 MB, free: 6.105 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.843e-05/0.1322, allocations: 122.3 kB / 342 MB, free: 5.984 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.871e-05/0.1322, allocations: 8 kB / 342 MB, free: 5.977 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001982/0.1324, allocations: 362.7 kB / 342.3 MB, free: 5.613 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002553/0.1327, allocations: 116.8 kB / 342.4 MB, free: 5.5 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003343/0.133, allocations: 217.3 kB / 342.7 MB, free: 5.254 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002634/0.1333, allocations: 133.8 kB / 342.8 MB, free: 5.125 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.1333, allocations: 0 / 342.8 MB, free: 5.125 MB / 286.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009113/0.1342, allocations: 476.7 kB / 343.3 MB, free: 4.641 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.1343, allocations: 4 kB / 343.3 MB, free: 4.637 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.1343, allocations: 8.094 kB / 343.3 MB, free: 4.629 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005001/0.1348, allocations: 159.3 kB / 343.4 MB, free: 4.461 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002128/0.135, allocations: 47.91 kB / 343.5 MB, free: 4.414 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005044/0.1401, allocations: 5.989 MB / 349.5 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004702/0.1406, allocations: 55.69 kB / 349.5 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.861e-05/0.1406, allocations: 16 kB / 349.5 MB, free: 13.82 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.0003199/0.141, allocations: 196.1 kB / 349.7 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.364e-05/0.141, allocations: 51.72 kB / 349.8 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001085/0.1411, allocations: 60.75 kB / 349.8 MB, free: 13.51 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.1412, allocations: 4 kB / 349.8 MB, free: 13.51 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.1412, allocations: 7.938 kB / 349.8 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.1412, allocations: 0 / 349.8 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006173/0.1418, allocations: 497 kB / 350.3 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.1418, allocations: 0 / 350.3 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001388/0.142, allocations: 36.05 kB / 350.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004123/0.1424, allocations: 159.3 kB / 350.5 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.544e-05/0.1424, allocations: 8 kB / 350.5 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005257/0.1477, allocations: 5.831 MB / 356.4 MB, free: 6.383 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.321e-06/0.1477, allocations: 4.031 kB / 356.4 MB, free: 6.379 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001033/0.1488, allocations: 0.5034 MB / 356.9 MB, free: 5.844 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002072/0.149, allocations: 164.4 kB / 357 MB, free: 5.664 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.277e-05/0.1491, allocations: 8 kB / 357 MB, free: 5.656 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002761/0.1493, allocations: 39.91 kB / 357.1 MB, free: 5.617 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000167/0.1495, allocations: 55.88 kB / 357.1 MB, free: 5.562 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.202e-05/0.1496, allocations: 15.98 kB / 357.1 MB, free: 5.547 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000411/0.15, allocations: 355.1 kB / 357.5 MB, free: 5.203 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.15, allocations: 0 / 357.5 MB, free: 5.203 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007923/0.1508, allocations: 163.8 kB / 357.7 MB, free: 5.043 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.001092/0.1519, allocations: 441 kB / 358.1 MB, free: 4.621 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001324/0.1532, allocations: 0.7991 MB / 358.9 MB, free: 3.77 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.1532, allocations: 192 / 358.9 MB, free: 3.77 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006875/0.1539, allocations: 0.6554 MB / 359.5 MB, free: 3.062 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005456/0.1545, allocations: 105.8 kB / 359.6 MB, free: 2.961 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002105/0.1566, allocations: 1.134 MB / 360.8 MB, free: 1.801 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004476/0.1571, allocations: 0.8748 MB / 361.6 MB, free: 0.9023 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002055/0.1573, allocations: 48.17 kB / 361.7 MB, free: 0.8516 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.308e-05/0.1574, allocations: 35.42 kB / 361.7 MB, free: 0.8164 MB / 302.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1574, allocations: 0 / 361.7 MB, free: 0.8164 MB / 302.1 MB Notification: Performance of Templates: time 0.01584/0.1732, allocations: 8.389 MB / 370.1 MB, free: 8.414 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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