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.0007681/0.0007681, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001099/0.001867, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0007258/0.0007258, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009485/0.001674, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.9021/0.9021, allocations: 177.5 MB / 190 MB, free: 4.809 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0829/0.985, allocations: 53.87 MB / 243.9 MB, free: 14.86 MB / 250.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.573e-06/1.573e-06, allocations: 0 / 245.2 MB, free: 13.56 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.128e-05/1.286e-05, allocations: 5.406 kB / 245.2 MB, free: 13.55 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.IdealTriacCircuit): time 0.008239/0.008252, allocations: 2.979 MB / 248.2 MB, free: 10.55 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001085/0.009338, allocations: 0.8214 MB / 249 MB, free: 9.727 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001127/0.00945, allocations: 7.938 kB / 249 MB, free: 9.719 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.92e-05/0.00955, allocations: 47.5 kB / 249.1 MB, free: 9.672 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001591/0.009709, allocations: 103.1 kB / 249.2 MB, free: 9.57 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002167/0.009925, allocations: 127.7 kB / 249.3 MB, free: 9.445 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003458/0.01027, allocations: 422.1 kB / 249.7 MB, free: 9.031 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001555/0.01043, allocations: 94.28 kB / 249.8 MB, free: 8.938 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003058/0.01073, allocations: 276.4 kB / 250.1 MB, free: 8.668 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001743/0.01091, allocations: 127.7 kB / 250.2 MB, free: 8.543 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.503e-05/0.01095, allocations: 36 kB / 250.2 MB, free: 8.508 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.814e-05/0.01104, allocations: 47.98 kB / 250.3 MB, free: 8.461 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.026e-05/0.01109, allocations: 59.81 kB / 250.3 MB, free: 8.402 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003116/0.01421, allocations: 103.8 kB / 250.4 MB, free: 8.301 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002899/0.0145, allocations: 247.1 kB / 250.7 MB, free: 8.059 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.538e-06/0.01451, allocations: 7.938 kB / 250.7 MB, free: 8.051 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.01451, allocations: 0 / 250.7 MB, free: 8.051 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.197e-06/0.01452, allocations: 0 / 250.7 MB, free: 8.051 MB / 250.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.000713/0.01523, allocations: 0.5941 MB / 251.3 MB, free: 7.43 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.882e-05/0.01526, allocations: 16.02 kB / 251.3 MB, free: 7.414 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001638/0.01542, allocations: 130 kB / 251.4 MB, free: 7.27 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002294/0.01565, allocations: 186.4 kB / 251.6 MB, free: 7.059 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.01567, allocations: 16.88 kB / 251.6 MB, free: 7.043 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.934e-05/0.01571, allocations: 28.33 kB / 251.7 MB, free: 7.016 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002682/0.01598, allocations: 272.2 kB / 251.9 MB, free: 6.723 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.01599, allocations: 192 / 251.9 MB, free: 6.723 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.019e-05/0.01601, allocations: 12.38 kB / 251.9 MB, free: 6.711 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.01601, allocations: 11.94 kB / 252 MB, free: 6.699 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000129/0.01614, allocations: 79.39 kB / 252 MB, free: 6.617 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000898/0.01704, allocations: 0.7793 MB / 252.8 MB, free: 5.797 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001278/0.01832, allocations: 142.4 kB / 252.9 MB, free: 5.652 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001166/0.01844, allocations: 80.75 kB / 253 MB, free: 5.57 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.767e-05/0.01845, allocations: 7.938 kB / 253 MB, free: 5.562 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000158/0.01861, allocations: 182.1 kB / 253.2 MB, free: 5.348 MB / 250.7 MB Notification: Performance of pre-optimization done (n=22): time 1.463e-06/0.01861, allocations: 4 kB / 253.2 MB, free: 5.344 MB / 250.7 MB Notification: Performance of matching and sorting (n=22): time 0.0006506/0.01926, allocations: 297.5 kB / 253.5 MB, free: 5.047 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.306e-05/0.01931, allocations: 85.05 kB / 253.6 MB, free: 4.945 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.01945, allocations: 213 kB / 253.8 MB, free: 4.727 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.01947, allocations: 29.69 kB / 253.8 MB, free: 4.691 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.236e-05/0.01954, allocations: 156.6 kB / 254 MB, free: 4.535 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.708e-05/0.01958, allocations: 79.34 kB / 254.1 MB, free: 4.457 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.475e-05/0.01964, allocations: 53.72 kB / 254.1 MB, free: 4.398 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.001e-05/0.01972, allocations: 338.7 kB / 254.4 MB, free: 4.059 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.337e-05/0.01975, allocations: 24 kB / 254.5 MB, free: 4.035 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.187e-05/0.01983, allocations: 124.5 kB / 254.6 MB, free: 3.883 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.433e-05/0.01992, allocations: 99.89 kB / 254.7 MB, free: 3.773 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.01992, allocations: 0 / 254.7 MB, free: 3.773 MB / 250.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0001618/0.02008, allocations: 154.3 kB / 254.8 MB, free: 3.613 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.879e-06/0.02009, allocations: 8.125 kB / 254.8 MB, free: 3.605 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.0201, allocations: 4 kB / 254.8 MB, free: 3.602 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001619/0.02026, allocations: 68.72 kB / 254.9 MB, free: 3.531 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.943e-05/0.02036, allocations: 31.98 kB / 254.9 MB, free: 3.5 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009867/0.02135, allocations: 1.619 MB / 256.6 MB, free: 1.793 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.018e-05/0.02143, allocations: 31.83 kB / 256.6 MB, free: 1.762 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.02144, allocations: 8 kB / 256.6 MB, free: 1.754 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 7.441e-05/0.02151, allocations: 125.7 kB / 256.7 MB, free: 1.621 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.408e-05/0.02153, allocations: 27.95 kB / 256.7 MB, free: 1.594 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.639e-05/0.02156, allocations: 34.3 kB / 256.8 MB, free: 1.566 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.02156, allocations: 4 kB / 256.8 MB, free: 1.562 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-06/0.02156, allocations: 0 / 256.8 MB, free: 1.562 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.02157, allocations: 0 / 256.8 MB, free: 1.562 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003366/0.0219, allocations: 451.8 kB / 257.2 MB, free: 1.09 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.02191, allocations: 0 / 257.2 MB, free: 1.09 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.867e-05/0.02198, allocations: 35.86 kB / 257.3 MB, free: 1.055 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.255e-05/0.02203, allocations: 23.8 kB / 257.3 MB, free: 1.031 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001156/0.02214, allocations: 64.83 kB / 257.4 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.02215, allocations: 16.03 kB / 257.4 MB, free: 0.9492 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009075/0.02306, allocations: 1.614 MB / 259 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.02306, allocations: 0 / 259 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002013/0.02326, allocations: 274.9 kB / 259.2 MB, free: 14.96 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.02328, allocations: 11.98 kB / 259.3 MB, free: 14.95 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.784e-05/0.02336, allocations: 8 kB / 259.3 MB, free: 14.94 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.93e-05/0.02342, allocations: 35.88 kB / 259.3 MB, free: 14.9 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-06/0.02343, allocations: 7.984 kB / 259.3 MB, free: 14.89 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.036e-05/0.02348, allocations: 74.78 kB / 259.4 MB, free: 14.82 MB / 266.7 MB Notification: Performance of sort global known variables: time 2e-08/0.02348, allocations: 0 / 259.4 MB, free: 14.82 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002326/0.02371, allocations: 95.78 kB / 259.5 MB, free: 14.73 MB / 266.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.765e-05/0.02379, allocations: 88.44 kB / 259.6 MB, free: 14.63 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002846/0.02407, allocations: 277 kB / 259.8 MB, free: 14.35 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/0.02408, allocations: 4 kB / 259.8 MB, free: 14.35 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001801/0.02426, allocations: 239.4 kB / 260.1 MB, free: 14.1 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003613/0.02462, allocations: 0.6082 MB / 260.7 MB, free: 13.36 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002277/0.0269, allocations: 0.5489 MB / 261.2 MB, free: 12.78 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.806e-05/0.02695, allocations: 88.31 kB / 261.3 MB, free: 12.68 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.663e-05/0.027, allocations: 26.28 kB / 261.3 MB, free: 12.65 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.02711, allocations: 99.33 kB / 261.4 MB, free: 12.55 MB / 266.7 MB Notification: Performance of SimCode: time 5.91e-07/0.02711, allocations: 0 / 261.4 MB, free: 12.55 MB / 266.7 MB Notification: Performance of Templates: time 0.006102/0.03322, allocations: 5.236 MB / 266.7 MB, free: 7.406 MB / 266.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.761224186979234]