Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.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.001422/0.001422, allocations: 82.59 kB / 21.42 MB, free: 3.066 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.00152/0.00152, allocations: 166.5 kB / 24.82 MB, free: 9.305 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.9546/0.9546, allocations: 177 MB / 205.1 MB, free: 5.465 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.IdealTriacCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|idealTriac.capacitor.v|idealTriac.idealThyristor.off|idealTriac.idealThyristor1.off",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit") translateModel(Modelica.Electrical.Analog.Examples.IdealTriacCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|idealTriac.capacitor.v|idealTriac.idealThyristor.off|idealTriac.idealThyristor1.off",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0 / 273.3 MB, free: 1.211 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.27e-05/1.45e-05, allocations: 5.266 kB / 273.3 MB, free: 1.207 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.IdealTriacCircuit): time 0.002954/0.002969, allocations: 2.925 MB / 276.3 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008779/0.003846, allocations: 0.7867 MB / 277 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001089/0.003955, allocations: 4 kB / 277.1 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001234/0.004079, allocations: 55.44 kB / 277.1 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000129/0.004208, allocations: 103.1 kB / 277.2 MB, free: 13.31 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002556/0.004463, allocations: 123.7 kB / 277.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002793/0.004743, allocations: 430 kB / 277.7 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001477/0.00489, allocations: 87.61 kB / 277.8 MB, free: 12.68 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000233/0.005123, allocations: 247.5 kB / 278.1 MB, free: 12.43 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000143/0.005266, allocations: 127.6 kB / 278.2 MB, free: 12.31 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.628e-05/0.005303, allocations: 36 kB / 278.2 MB, free: 12.27 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.156e-05/0.005364, allocations: 40 kB / 278.3 MB, free: 12.23 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.153e-05/0.005406, allocations: 75.75 kB / 278.3 MB, free: 12.16 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.688e-05/0.005493, allocations: 127.7 kB / 278.5 MB, free: 12.04 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002392/0.005732, allocations: 271.1 kB / 278.7 MB, free: 11.77 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.005734, allocations: 4 kB / 278.7 MB, free: 11.77 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.005735, allocations: 0 / 278.7 MB, free: 11.77 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.927e-06/0.005739, allocations: 0 / 278.7 MB, free: 11.77 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.0005878/0.006326, allocations: 0.6488 MB / 279.4 MB, free: 11.08 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.00636, allocations: 11.98 kB / 279.4 MB, free: 11.07 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001216/0.006482, allocations: 72.69 kB / 279.5 MB, free: 11 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001934/0.006675, allocations: 232.9 kB / 279.7 MB, free: 10.74 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.006691, allocations: 20.88 kB / 279.7 MB, free: 10.72 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.999e-05/0.006721, allocations: 28.36 kB / 279.7 MB, free: 10.7 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002355/0.006956, allocations: 268.8 kB / 280 MB, free: 10.4 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.006964, allocations: 192 / 280 MB, free: 10.4 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.791e-05/0.006982, allocations: 12.38 kB / 280 MB, free: 10.39 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.006989, allocations: 7.938 kB / 280 MB, free: 10.38 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.007092, allocations: 87.36 kB / 280.1 MB, free: 10.3 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008594/0.007951, allocations: 1.046 MB / 281.2 MB, free: 9.191 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004829/0.008434, allocations: 159.1 kB / 281.3 MB, free: 9.023 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.008546, allocations: 83.64 kB / 281.4 MB, free: 8.938 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.641e-05/0.008563, allocations: 11.92 kB / 281.4 MB, free: 8.926 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001381/0.008701, allocations: 187.1 kB / 281.6 MB, free: 8.699 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 1.122e-06/0.008702, allocations: 0 / 281.6 MB, free: 8.699 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.0006075/0.00931, allocations: 344.2 kB / 281.9 MB, free: 8.355 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.145e-05/0.009361, allocations: 136.5 kB / 282.1 MB, free: 8.191 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/0.009496, allocations: 280.1 kB / 282.3 MB, free: 7.902 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.009514, allocations: 33.64 kB / 282.4 MB, free: 7.863 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.142e-05/0.009595, allocations: 215.4 kB / 282.6 MB, free: 7.645 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.091e-05/0.009636, allocations: 75.31 kB / 282.7 MB, free: 7.57 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.167e-05/0.009698, allocations: 59.33 kB / 282.7 MB, free: 7.504 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.009806, allocations: 0.5079 MB / 283.2 MB, free: 6.984 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.974e-05/0.009846, allocations: 27.98 kB / 283.2 MB, free: 6.957 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.163e-05/0.009927, allocations: 145.5 kB / 283.4 MB, free: 6.777 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001075/0.01003, allocations: 110.6 kB / 283.5 MB, free: 6.652 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.01004, allocations: 0 / 283.5 MB, free: 6.652 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0001887/0.01023, allocations: 189.1 kB / 283.7 MB, free: 6.457 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.01024, allocations: 11.12 kB / 283.7 MB, free: 6.449 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.01024, allocations: 8.109 kB / 283.7 MB, free: 6.441 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001644/0.01041, allocations: 63.58 kB / 283.8 MB, free: 6.375 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.07e-05/0.01048, allocations: 31.92 kB / 283.8 MB, free: 6.344 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001175/0.01165, allocations: 2.306 MB / 286.1 MB, free: 3.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.354e-05/0.01173, allocations: 31.83 kB / 286.1 MB, free: 3.898 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.01174, allocations: 4 kB / 286.1 MB, free: 3.895 MB / 266.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: 8 ($whenCondition1,idealTriac.fire1,idealTriac.idealThyristor1.off,$PRE.idealTriac.idealThyristor1.off,idealTriac.idealThyristor.off,$PRE.idealTriac.idealThyristor.off,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(2,9)} Notification: Performance of prepare postOptimizeDAE: time 8.555e-05/0.01183, allocations: 176.4 kB / 286.3 MB, free: 3.711 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.87e-05/0.01186, allocations: 31.86 kB / 286.3 MB, free: 3.68 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.73e-05/0.01189, allocations: 30.28 kB / 286.4 MB, free: 3.648 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.01189, allocations: 32 / 286.4 MB, free: 3.648 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.31e-07/0.01189, allocations: 8 kB / 286.4 MB, free: 3.641 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.01189, allocations: 3.984 kB / 286.4 MB, free: 3.637 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000428/0.01232, allocations: 0.6256 MB / 287 MB, free: 2.969 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.01232, allocations: 0 / 287 MB, free: 2.969 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.786e-05/0.01238, allocations: 23.94 kB / 287 MB, free: 2.945 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001237/0.0125, allocations: 67.59 kB / 287.1 MB, free: 2.875 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.799e-06/0.01251, allocations: 4 kB / 287.1 MB, free: 2.871 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001337/0.01385, allocations: 2.326 MB / 289.4 MB, free: 440 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.01385, allocations: 3.938 kB / 289.4 MB, free: 436 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002528/0.0141, allocations: 360.6 kB / 289.8 MB, free: 48 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.36e-05/0.01416, allocations: 47.7 kB / 289.8 MB, free: 0 / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.849e-05/0.01417, allocations: 12.11 kB / 289.8 MB, free: 15.98 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.975e-05/0.01426, allocations: 15.98 kB / 289.9 MB, free: 15.97 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.71e-05/0.01432, allocations: 35.88 kB / 289.9 MB, free: 15.93 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/0.01433, allocations: 4 kB / 289.9 MB, free: 15.93 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.977e-05/0.0144, allocations: 185.1 kB / 290.1 MB, free: 15.75 MB / 282.7 MB Notification: Performance of sort global known variables: time 3e-08/0.0144, allocations: 4 kB / 290.1 MB, free: 15.75 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003655/0.01477, allocations: 95.84 kB / 290.2 MB, free: 15.65 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (idealTriac.capacitor.v) * Number of discrete variables: 5 ($whenCondition1,booleanPulse.pulseStart,idealTriac.idealThyristor.off,idealTriac.idealThyristor1.off,idealTriac.fire1) * Number of discrete states: 2 (idealTriac.idealThyristor1.off,idealTriac.idealThyristor.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(2,9)} Notification: Performance of Backend phase and start with SimCode phase: time 7.944e-05/0.01485, allocations: 107.2 kB / 290.3 MB, free: 15.54 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00032/0.01517, allocations: 340.1 kB / 290.6 MB, free: 15.19 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.01517, allocations: 0 / 290.6 MB, free: 15.19 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001937/0.01536, allocations: 288.4 kB / 290.9 MB, free: 14.89 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002381/0.0156, allocations: 68.42 kB / 291 MB, free: 14.83 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008255/0.01642, allocations: 0.5378 MB / 291.5 MB, free: 14.25 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.02e-05/0.01647, allocations: 96.3 kB / 291.6 MB, free: 14.14 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.106e-05/0.01653, allocations: 22.28 kB / 291.6 MB, free: 14.12 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/0.01664, allocations: 126.2 kB / 291.7 MB, free: 14 MB / 282.7 MB Notification: Performance of SimCode: time 4.41e-07/0.01664, allocations: 0 / 291.7 MB, free: 14 MB / 282.7 MB Notification: Performance of Templates: time 0.006252/0.02289, allocations: 4.923 MB / 296.7 MB, free: 9.164 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/IdealTriacCircuit/IdealTriacCircuit.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.761810739059001]