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.000799/0.000799, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001005/0.001804, allocations: 449.7 kB / 10.37 MB, free: 324 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.001068/0.001068, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001282/0.00235, allocations: 463.6 kB / 11.72 MB, free: 2.453 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.9725/0.9725, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07928/1.052, allocations: 53.86 MB / 243.7 MB, free: 14.91 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.382e-06/1.382e-06, allocations: 0 / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.427e-05/1.565e-05, allocations: 5.688 kB / 245 MB, free: 13.63 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.IdealTriacCircuit): time 0.002887/0.002903, allocations: 2.979 MB / 248 MB, free: 10.63 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001228/0.004131, allocations: 0.8253 MB / 248.8 MB, free: 9.801 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001292/0.004261, allocations: 7.938 kB / 248.8 MB, free: 9.793 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.962e-05/0.00435, allocations: 43.52 kB / 248.9 MB, free: 9.75 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001604/0.004511, allocations: 111 kB / 249 MB, free: 9.641 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00024/0.004751, allocations: 119.7 kB / 249.1 MB, free: 9.523 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006911/0.005442, allocations: 422.1 kB / 249.5 MB, free: 9.109 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001561/0.005598, allocations: 98.28 kB / 249.6 MB, free: 9.012 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003272/0.005925, allocations: 276.4 kB / 249.9 MB, free: 8.742 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001632/0.006088, allocations: 123.7 kB / 250 MB, free: 8.621 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.891e-05/0.006127, allocations: 40 kB / 250 MB, free: 8.582 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.615e-05/0.006213, allocations: 40 kB / 250.1 MB, free: 8.543 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.323e-05/0.006257, allocations: 63.75 kB / 250.1 MB, free: 8.48 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.526e-05/0.006342, allocations: 99.81 kB / 250.2 MB, free: 8.383 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002802/0.006622, allocations: 255.1 kB / 250.5 MB, free: 8.133 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.62e-05/0.006638, allocations: 0 / 250.5 MB, free: 8.133 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.006641, allocations: 4 kB / 250.5 MB, free: 8.129 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.599e-05/0.006657, allocations: 0 / 250.5 MB, free: 8.129 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.0006648/0.007321, allocations: 0.5902 MB / 251.1 MB, free: 7.512 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.007356, allocations: 12.03 kB / 251.1 MB, free: 7.5 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001632/0.007519, allocations: 130 kB / 251.2 MB, free: 7.355 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002437/0.007763, allocations: 194.4 kB / 251.4 MB, free: 7.141 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.007781, allocations: 16.88 kB / 251.4 MB, free: 7.125 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.919e-05/0.00782, allocations: 36.27 kB / 251.5 MB, free: 7.09 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002841/0.008104, allocations: 272.2 kB / 251.7 MB, free: 6.793 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.008116, allocations: 192 / 251.7 MB, free: 6.793 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.22e-05/0.008138, allocations: 12.38 kB / 251.7 MB, free: 6.781 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.008149, allocations: 15.88 kB / 251.8 MB, free: 6.766 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.008254, allocations: 71.39 kB / 251.8 MB, free: 6.699 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008569/0.009111, allocations: 0.7754 MB / 252.6 MB, free: 5.883 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000238/0.009349, allocations: 137.6 kB / 252.7 MB, free: 5.742 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.009457, allocations: 80.81 kB / 252.8 MB, free: 5.66 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.009474, allocations: 11.92 kB / 252.8 MB, free: 5.648 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001507/0.009624, allocations: 182.1 kB / 253 MB, free: 5.434 MB / 250.7 MB Notification: Performance of pre-optimization done (n=22): time 1.373e-06/0.009626, allocations: 0 / 253 MB, free: 5.434 MB / 250.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005539/0.01018, allocations: 297.5 kB / 253.3 MB, free: 5.137 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.678e-05/0.01022, allocations: 85.09 kB / 253.4 MB, free: 5.035 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.01034, allocations: 213 kB / 253.6 MB, free: 4.816 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.01036, allocations: 33.7 kB / 253.6 MB, free: 4.777 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.121e-05/0.01042, allocations: 156.6 kB / 253.8 MB, free: 4.621 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.142e-05/0.01046, allocations: 71.38 kB / 253.8 MB, free: 4.551 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.325e-05/0.01052, allocations: 53.7 kB / 253.9 MB, free: 4.492 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.173e-05/0.0106, allocations: 342.7 kB / 254.2 MB, free: 4.148 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.301e-05/0.01063, allocations: 23.98 kB / 254.3 MB, free: 4.125 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.997e-05/0.0107, allocations: 120.5 kB / 254.4 MB, free: 3.977 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.991e-05/0.01079, allocations: 95.89 kB / 254.5 MB, free: 3.871 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.01079, allocations: 0 / 254.5 MB, free: 3.871 MB / 250.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0001565/0.01095, allocations: 158.3 kB / 254.6 MB, free: 3.707 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.01096, allocations: 12.12 kB / 254.6 MB, free: 3.695 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.01097, allocations: 4 kB / 254.6 MB, free: 3.691 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001585/0.01112, allocations: 64.73 kB / 254.7 MB, free: 3.625 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.456e-05/0.01122, allocations: 31.98 kB / 254.7 MB, free: 3.594 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001039/0.01226, allocations: 1.63 MB / 256.4 MB, free: 1.871 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.935e-05/0.01234, allocations: 19.89 kB / 256.4 MB, free: 1.852 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.01235, allocations: 8 kB / 256.4 MB, free: 1.844 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 0.0003369/0.01268, allocations: 129.8 kB / 256.5 MB, free: 1.707 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.3e-05/0.01271, allocations: 23.86 kB / 256.5 MB, free: 1.684 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.995e-05/0.01274, allocations: 38.28 kB / 256.6 MB, free: 1.652 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.01274, allocations: 4 kB / 256.6 MB, free: 1.648 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.01274, allocations: 0 / 256.6 MB, free: 1.648 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.01274, allocations: 0 / 256.6 MB, free: 1.648 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003631/0.01311, allocations: 455.8 kB / 257 MB, free: 1.172 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.01311, allocations: 4 kB / 257 MB, free: 1.168 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.525e-05/0.01319, allocations: 23.98 kB / 257.1 MB, free: 1.145 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.011e-05/0.01324, allocations: 31.78 kB / 257.1 MB, free: 1.113 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001235/0.01336, allocations: 64.78 kB / 257.1 MB, free: 1.047 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.01337, allocations: 8.031 kB / 257.2 MB, free: 1.039 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001208/0.01458, allocations: 1.614 MB / 258.8 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.01458, allocations: 0 / 258.8 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002128/0.01479, allocations: 282.8 kB / 259 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.148e-05/0.01481, allocations: 4 kB / 259 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.749e-05/0.01489, allocations: 19.98 kB / 259.1 MB, free: 15.02 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.287e-05/0.01495, allocations: 27.94 kB / 259.1 MB, free: 14.99 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.01496, allocations: 4 kB / 259.1 MB, free: 14.98 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.43e-05/0.01502, allocations: 70.78 kB / 259.2 MB, free: 14.91 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01502, allocations: 0 / 259.2 MB, free: 14.91 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000258/0.01527, allocations: 95.84 kB / 259.3 MB, free: 14.82 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 9.633e-05/0.01537, allocations: 84.45 kB / 259.3 MB, free: 14.73 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003034/0.01567, allocations: 276.9 kB / 259.6 MB, free: 14.45 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.897e-06/0.01568, allocations: 7.938 kB / 259.6 MB, free: 14.44 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001734/0.01586, allocations: 231.4 kB / 259.8 MB, free: 14.2 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002077/0.01606, allocations: 80.75 kB / 259.9 MB, free: 14.12 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002364/0.01843, allocations: 0.5488 MB / 260.5 MB, free: 13.54 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.72e-05/0.01849, allocations: 92.3 kB / 260.6 MB, free: 13.43 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.618e-05/0.01856, allocations: 22.3 kB / 260.6 MB, free: 13.41 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001112/0.01867, allocations: 99.33 kB / 260.7 MB, free: 13.31 MB / 266.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01867, allocations: 4 kB / 260.7 MB, free: 13.3 MB / 266.7 MB Notification: Performance of Templates: time 0.006973/0.02564, allocations: 5.129 MB / 265.8 MB, free: 8.266 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5530999852344394]