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.001193/0.001193, allocations: 81.91 kB / 21.43 MB, free: 3.062 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.001298/0.001298, allocations: 161.7 kB / 24.81 MB, free: 9.27 MB / 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 0.9822/0.9822, allocations: 177 MB / 205.1 MB, free: 5.473 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.964e-06/1.964e-06, allocations: 0 / 273.3 MB, free: 1.211 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.289e-05/1.486e-05, allocations: 2.312 kB / 273.3 MB, free: 1.207 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.004274/0.004289, allocations: 3.919 MB / 277.3 MB, free: 13.26 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00259/0.006878, allocations: 1.589 MB / 278.9 MB, free: 11.66 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002195/0.007098, allocations: 11.94 kB / 278.9 MB, free: 11.65 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006556/0.007753, allocations: 258.7 kB / 279.1 MB, free: 11.39 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005394/0.008293, allocations: 313.9 kB / 279.4 MB, free: 11.09 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000488/0.008781, allocations: 271.2 kB / 279.7 MB, free: 10.82 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006749/0.009456, allocations: 0.7472 MB / 280.4 MB, free: 10.07 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002096/0.009665, allocations: 117.5 kB / 280.5 MB, free: 9.949 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004721/0.01014, allocations: 423 kB / 281 MB, free: 9.535 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002806/0.01042, allocations: 239.3 kB / 281.2 MB, free: 9.301 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.94e-05/0.01049, allocations: 52 kB / 281.2 MB, free: 9.25 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001883/0.01068, allocations: 107.8 kB / 281.4 MB, free: 9.145 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001212/0.0108, allocations: 155.4 kB / 281.5 MB, free: 8.992 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001748/0.01097, allocations: 199.5 kB / 281.7 MB, free: 8.797 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005203/0.01149, allocations: 0.5137 MB / 282.2 MB, free: 8.281 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.01149, allocations: 0 / 282.2 MB, free: 8.281 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.01149, allocations: 0 / 282.2 MB, free: 8.281 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.0115, allocations: 0 / 282.2 MB, free: 8.281 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.001073/0.01257, allocations: 0.9924 MB / 283.2 MB, free: 7.246 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.01261, allocations: 19.97 kB / 283.2 MB, free: 7.227 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001822/0.01279, allocations: 108.5 kB / 283.3 MB, free: 7.121 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000392/0.01318, allocations: 359.1 kB / 283.7 MB, free: 6.738 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.416e-05/0.01322, allocations: 37.3 kB / 283.7 MB, free: 6.703 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.731e-05/0.01326, allocations: 40.38 kB / 283.8 MB, free: 6.664 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004583/0.01372, allocations: 434.2 kB / 284.2 MB, free: 6.184 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.01373, allocations: 4.188 kB / 284.2 MB, free: 6.18 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.037e-05/0.01376, allocations: 16.38 kB / 284.2 MB, free: 6.164 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.272e-05/0.01378, allocations: 11.94 kB / 284.2 MB, free: 6.152 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002237/0.014, allocations: 138.8 kB / 284.3 MB, free: 6.02 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001807/0.01581, allocations: 1.606 MB / 286 MB, free: 4.332 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003599/0.01617, allocations: 270.8 kB / 286.2 MB, free: 4.059 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001388/0.01631, allocations: 95.62 kB / 286.3 MB, free: 3.961 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.488e-05/0.01633, allocations: 11.75 kB / 286.3 MB, free: 3.949 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002802/0.01661, allocations: 324.9 kB / 286.6 MB, free: 3.57 MB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 1.623e-06/0.01661, allocations: 0 / 286.6 MB, free: 3.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.001097/0.01771, allocations: 0.552 MB / 287.2 MB, free: 2.996 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.954e-05/0.01777, allocations: 166.2 kB / 287.4 MB, free: 2.797 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003431/0.01811, allocations: 450.4 kB / 287.8 MB, free: 2.344 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.865e-05/0.01814, allocations: 37.7 kB / 287.8 MB, free: 2.301 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001724/0.01831, allocations: 315.4 kB / 288.1 MB, free: 1.988 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.239e-05/0.0184, allocations: 134.9 kB / 288.3 MB, free: 1.855 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/0.0185, allocations: 83.78 kB / 288.4 MB, free: 1.766 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.01867, allocations: 0.5351 MB / 288.9 MB, free: 1.219 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.032e-05/0.01876, allocations: 48.95 kB / 288.9 MB, free: 1.172 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001835/0.01894, allocations: 287 kB / 289.2 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000202/0.01914, allocations: 160.6 kB / 289.4 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.01914, allocations: 4 kB / 289.4 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004269/0.01957, allocations: 356.2 kB / 289.7 MB, free: 280 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.01959, allocations: 7.125 kB / 289.7 MB, free: 276 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.01959, allocations: 0 / 289.7 MB, free: 276 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003002/0.01989, allocations: 138.7 kB / 289.9 MB, free: 120 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001447/0.02004, allocations: 51.91 kB / 289.9 MB, free: 68 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003845/0.02388, allocations: 8.122 MB / 298 MB, free: 7.5 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000187/0.02407, allocations: 43.77 kB / 298.1 MB, free: 7.457 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.955e-05/0.02409, allocations: 12 kB / 298.1 MB, free: 7.445 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.0001357/0.02422, allocations: 182.5 kB / 298.3 MB, free: 7.254 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.074e-05/0.02429, allocations: 67.67 kB / 298.3 MB, free: 7.188 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005273/0.02482, allocations: 380.4 kB / 298.7 MB, free: 6.793 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.02482, allocations: 4 kB / 298.7 MB, free: 6.789 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-06/0.02483, allocations: 0 / 298.7 MB, free: 6.789 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.523e-06/0.02483, allocations: 3.984 kB / 298.7 MB, free: 6.785 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000523/0.02536, allocations: 284.9 kB / 299 MB, free: 6.48 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.02536, allocations: 0 / 299 MB, free: 6.48 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.766e-05/0.02545, allocations: 35.86 kB / 299 MB, free: 6.445 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002536/0.0257, allocations: 138.6 kB / 299.2 MB, free: 6.293 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.944e-05/0.02572, allocations: 11.94 kB / 299.2 MB, free: 6.281 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1094/0.1352, allocations: 7.658 MB / 306.8 MB, free: 34.85 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.1352, allocations: 0.9375 kB / 306.8 MB, free: 34.85 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005354/0.1357, allocations: 424.6 kB / 307.3 MB, free: 34.72 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/0.1358, allocations: 82.38 kB / 307.3 MB, free: 34.72 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.768e-05/0.1359, allocations: 13.88 kB / 307.3 MB, free: 34.72 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001256/0.136, allocations: 30.66 kB / 307.4 MB, free: 34.72 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/0.1361, allocations: 59.22 kB / 307.4 MB, free: 34.72 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.965e-05/0.1361, allocations: 7.719 kB / 307.4 MB, free: 34.72 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001657/0.1363, allocations: 291.7 kB / 307.7 MB, free: 34.59 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1363, allocations: 1.031 kB / 307.7 MB, free: 34.59 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005567/0.1368, allocations: 170.2 kB / 307.9 MB, free: 34.59 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.0008148/0.1377, allocations: 408.2 kB / 308.3 MB, free: 34.5 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005485/0.1382, allocations: 0.9016 MB / 309.2 MB, free: 33.8 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1382, allocations: 0.5469 kB / 309.2 MB, free: 33.8 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003182/0.1385, allocations: 0.8227 MB / 310 MB, free: 33.11 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003314/0.1389, allocations: 113.7 kB / 310.1 MB, free: 33.1 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/0.1402, allocations: 0.8995 MB / 311 MB, free: 32.68 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001012/0.1403, allocations: 131.8 kB / 311.2 MB, free: 32.61 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000136/0.1404, allocations: 45.38 kB / 311.2 MB, free: 32.61 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002204/0.1406, allocations: 182.4 kB / 311.4 MB, free: 32.54 MB / 282.7 MB Notification: Performance of SimCode: time 5.51e-07/0.1406, allocations: 0 / 311.4 MB, free: 32.54 MB / 282.7 MB Notification: Performance of Templates: time 0.01206/0.1527, allocations: 9.79 MB / 321.2 MB, free: 29.71 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: 2.9681831658817828]