Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009294/0.0009294, allocations: 80.8 kB / 22.28 MB, free: 2.207 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001559/0.001559, allocations: 168.1 kB / 25.7 MB, free: 8.438 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9433/0.9433, allocations: 158.6 MB / 187.6 MB, free: 2.789 MB / 170.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 251.6 MB, free: 7.223 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.045e-05/3.246e-05, allocations: 2.312 kB / 251.6 MB, free: 7.219 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.IdealTriacCircuit): time 0.00364/0.003673, allocations: 2.915 MB / 254.5 MB, free: 4.285 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001295/0.004968, allocations: 0.7835 MB / 255.3 MB, free: 3.492 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000141/0.005109, allocations: 8 kB / 255.3 MB, free: 3.484 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001524/0.005261, allocations: 51.44 kB / 255.3 MB, free: 3.434 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001806/0.005442, allocations: 107.1 kB / 255.4 MB, free: 3.328 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000321/0.005763, allocations: 95.81 kB / 255.5 MB, free: 3.234 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.000364/0.006127, allocations: 429.9 kB / 255.9 MB, free: 2.812 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001649/0.006291, allocations: 90.25 kB / 256 MB, free: 2.719 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002489/0.00654, allocations: 231.4 kB / 256.3 MB, free: 2.492 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001665/0.006707, allocations: 127.7 kB / 256.4 MB, free: 2.367 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.042e-05/0.006747, allocations: 36 kB / 256.4 MB, free: 2.332 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.112e-05/0.006788, allocations: 36 kB / 256.5 MB, free: 2.297 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.767e-05/0.006836, allocations: 87.67 kB / 256.5 MB, free: 2.211 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 8.648e-05/0.006923, allocations: 119.8 kB / 256.7 MB, free: 2.094 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002477/0.00717, allocations: 271 kB / 256.9 MB, free: 1.828 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.007175, allocations: 0 / 256.9 MB, free: 1.828 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.007176, allocations: 0 / 256.9 MB, free: 1.828 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.007182, allocations: 0 / 256.9 MB, free: 1.828 MB / 234.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.0006147/0.007797, allocations: 0.5241 MB / 257.4 MB, free: 1.281 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.007831, allocations: 15.98 kB / 257.5 MB, free: 1.266 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.145e-05/0.007892, allocations: 44.89 kB / 257.5 MB, free: 1.223 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002076/0.0081, allocations: 181.3 kB / 257.7 MB, free: 1.02 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.008116, allocations: 16.88 kB / 257.7 MB, free: 1 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.235e-05/0.008148, allocations: 28.38 kB / 257.7 MB, free: 0.9727 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002496/0.008398, allocations: 276.2 kB / 258 MB, free: 0.6719 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.008405, allocations: 192 / 258 MB, free: 0.6719 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.68e-05/0.008422, allocations: 16.38 kB / 258 MB, free: 0.6562 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.008429, allocations: 7.938 kB / 258 MB, free: 0.6484 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.949e-05/0.008529, allocations: 67.45 kB / 258.1 MB, free: 0.5859 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008567/0.009386, allocations: 0.7948 MB / 258.9 MB, free: 15.75 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002403/0.009626, allocations: 138.2 kB / 259 MB, free: 15.61 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001246/0.00975, allocations: 84.8 kB / 259.1 MB, free: 15.52 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/0.009769, allocations: 7.938 kB / 259.1 MB, free: 15.52 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001508/0.00992, allocations: 174.1 kB / 259.3 MB, free: 15.31 MB / 250.7 MB Notification: Performance of pre-optimization done (n=22): time 1.522e-06/0.009922, allocations: 0 / 259.3 MB, free: 15.31 MB / 250.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005802/0.0105, allocations: 302 kB / 259.6 MB, free: 15 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.005e-05/0.01055, allocations: 132.5 kB / 259.7 MB, free: 14.84 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.01067, allocations: 213 kB / 259.9 MB, free: 14.62 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.01069, allocations: 33.64 kB / 259.9 MB, free: 14.59 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.565e-05/0.01076, allocations: 160.6 kB / 260.1 MB, free: 14.43 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.812e-05/0.01079, allocations: 75.31 kB / 260.2 MB, free: 14.35 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.562e-05/0.01085, allocations: 53.67 kB / 260.2 MB, free: 14.29 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.665e-05/0.01093, allocations: 338.7 kB / 260.6 MB, free: 13.95 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.464e-05/0.01096, allocations: 23.98 kB / 260.6 MB, free: 13.93 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.266e-05/0.01103, allocations: 124.5 kB / 260.7 MB, free: 13.78 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003117/0.01135, allocations: 103.2 kB / 260.8 MB, free: 13.66 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.01135, allocations: 0 / 260.8 MB, free: 13.66 MB / 250.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0001701/0.01152, allocations: 158.4 kB / 261 MB, free: 13.5 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.01153, allocations: 4 kB / 261 MB, free: 13.5 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.01154, allocations: 4 kB / 261 MB, free: 13.49 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000182/0.01172, allocations: 52.81 kB / 261 MB, free: 13.44 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.01182, allocations: 35.92 kB / 261 MB, free: 13.4 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001088/0.01291, allocations: 1.618 MB / 262.7 MB, free: 11.7 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.868e-05/0.013, allocations: 23.89 kB / 262.7 MB, free: 11.68 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.01301, allocations: 8 kB / 262.7 MB, free: 11.67 MB / 250.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.464e-05/0.0131, allocations: 121.9 kB / 262.8 MB, free: 11.54 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.668e-05/0.01312, allocations: 35.86 kB / 262.8 MB, free: 11.5 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.211e-05/0.01316, allocations: 30.27 kB / 262.9 MB, free: 11.47 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.01316, allocations: 7.984 kB / 262.9 MB, free: 11.46 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.01316, allocations: 0 / 262.9 MB, free: 11.46 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.01317, allocations: 0 / 262.9 MB, free: 11.46 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003977/0.01356, allocations: 459.7 kB / 263.3 MB, free: 10.98 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.01357, allocations: 0 / 263.3 MB, free: 10.98 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.396e-05/0.01365, allocations: 23.92 kB / 263.4 MB, free: 10.96 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001308/0.01378, allocations: 68.77 kB / 263.4 MB, free: 10.89 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.01379, allocations: 15.92 kB / 263.4 MB, free: 10.87 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009735/0.01477, allocations: 1.606 MB / 265 MB, free: 9.18 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01477, allocations: 7.969 kB / 265.1 MB, free: 9.172 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002188/0.01499, allocations: 274.7 kB / 265.3 MB, free: 8.883 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.96e-05/0.01504, allocations: 31.73 kB / 265.4 MB, free: 8.852 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/0.01506, allocations: 7.984 kB / 265.4 MB, free: 8.844 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.265e-05/0.01514, allocations: 12 kB / 265.4 MB, free: 8.832 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.464e-05/0.01522, allocations: 35.94 kB / 265.4 MB, free: 8.797 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.01523, allocations: 3.984 kB / 265.4 MB, free: 8.793 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.025e-05/0.01529, allocations: 74.78 kB / 265.5 MB, free: 8.715 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01529, allocations: 0 / 265.5 MB, free: 8.715 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002918/0.01559, allocations: 91.92 kB / 265.6 MB, free: 8.625 MB / 250.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 0.0001096/0.0157, allocations: 84.36 kB / 265.7 MB, free: 8.535 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003307/0.01603, allocations: 281.8 kB / 265.9 MB, free: 8.246 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.01603, allocations: 8 kB / 265.9 MB, free: 8.238 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001827/0.01621, allocations: 223.6 kB / 266.2 MB, free: 8.004 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002224/0.01644, allocations: 64.94 kB / 266.2 MB, free: 7.941 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009333/0.01737, allocations: 0.549 MB / 266.8 MB, free: 7.363 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.387e-05/0.01743, allocations: 88.31 kB / 266.9 MB, free: 7.258 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.245e-05/0.01751, allocations: 22.28 kB / 266.9 MB, free: 7.234 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001163/0.01762, allocations: 103.3 kB / 267 MB, free: 7.133 MB / 250.7 MB Notification: Performance of SimCode: time 6.82e-07/0.01762, allocations: 0 / 267 MB, free: 7.133 MB / 250.7 MB Notification: Performance of Templates: time 0.007201/0.02482, allocations: 4.884 MB / 271.9 MB, free: 2.293 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.7434632563963532]