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.001988/0.001988, allocations: 96.3 kB / 21.73 MB, free: 2.699 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.0023/0.0023, allocations: 166.8 kB / 25.02 MB, free: 8.426 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 1.465/1.465, allocations: 158.6 MB / 186.8 MB, free: 2.887 MB / 170.7 MB " [Timeout remaining time 178] 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.284e-06/2.284e-06, allocations: 0 / 250.4 MB, free: 3.93 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.783e-05/4.012e-05, allocations: 2.312 kB / 250.4 MB, free: 3.926 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.IdealTriacCircuit): time 0.005373/0.005413, allocations: 2.687 MB / 253.1 MB, free: 1.223 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001883/0.007295, allocations: 0.7409 MB / 253.8 MB, free: 484 kB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000197/0.007492, allocations: 7.938 kB / 253.8 MB, free: 476 kB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002528/0.007745, allocations: 47.52 kB / 253.8 MB, free: 428 kB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002406/0.007986, allocations: 107 kB / 254 MB, free: 320 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003669/0.008353, allocations: 107.8 kB / 254.1 MB, free: 212 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006093/0.008962, allocations: 426 kB / 254.5 MB, free: 15.79 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002418/0.009204, allocations: 91.52 kB / 254.6 MB, free: 15.7 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003821/0.009586, allocations: 223.6 kB / 254.8 MB, free: 15.48 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002419/0.009828, allocations: 123.7 kB / 254.9 MB, free: 15.36 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.898e-05/0.009897, allocations: 39.94 kB / 254.9 MB, free: 15.32 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.744e-05/0.009964, allocations: 36 kB / 255 MB, free: 15.28 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.744e-05/0.01005, allocations: 71.75 kB / 255 MB, free: 15.21 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001989/0.01025, allocations: 131.7 kB / 255.2 MB, free: 15.08 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006144/0.01086, allocations: 450.6 kB / 255.6 MB, free: 14.64 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.01087, allocations: 0 / 255.6 MB, free: 14.64 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.01087, allocations: 0 / 255.6 MB, free: 14.64 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.047e-05/0.01088, allocations: 3.984 kB / 255.6 MB, free: 14.64 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.00146/0.01234, allocations: 0.545 MB / 256.2 MB, free: 14.06 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.01239, allocations: 11.98 kB / 256.2 MB, free: 14.05 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000146/0.01253, allocations: 60.7 kB / 256.2 MB, free: 13.99 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007057/0.01324, allocations: 229.2 kB / 256.5 MB, free: 13.74 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.639e-05/0.01328, allocations: 24.86 kB / 256.5 MB, free: 13.71 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.171e-05/0.01334, allocations: 24.38 kB / 256.5 MB, free: 13.69 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006619/0.014, allocations: 331.6 kB / 256.8 MB, free: 13.34 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.01401, allocations: 4.188 kB / 256.8 MB, free: 13.34 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.254e-05/0.01404, allocations: 8.375 kB / 256.8 MB, free: 13.33 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.314e-05/0.01406, allocations: 15.94 kB / 256.9 MB, free: 13.31 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004696/0.01453, allocations: 205.8 kB / 257.1 MB, free: 13.11 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001941/0.01647, allocations: 0.9935 MB / 258.1 MB, free: 12.06 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000576/0.01704, allocations: 198.7 kB / 258.2 MB, free: 11.86 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003529/0.0174, allocations: 128.7 kB / 258.4 MB, free: 11.73 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.374e-05/0.01742, allocations: 4 kB / 258.4 MB, free: 11.72 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004125/0.01783, allocations: 218.2 kB / 258.6 MB, free: 11.47 MB / 250.7 MB Notification: Performance of pre-optimization done (n=22): time 1.934e-06/0.01783, allocations: 3.938 kB / 258.6 MB, free: 11.47 MB / 250.7 MB Notification: Performance of matching and sorting (n=22): time 0.001597/0.01943, allocations: 449.9 kB / 259 MB, free: 11.02 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001281/0.01956, allocations: 136.5 kB / 259.2 MB, free: 10.86 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003221/0.01988, allocations: 229.8 kB / 259.4 MB, free: 10.62 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.069e-05/0.01992, allocations: 37.73 kB / 259.4 MB, free: 10.58 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002056/0.02013, allocations: 176.6 kB / 259.6 MB, free: 10.41 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.077e-05/0.02021, allocations: 71.42 kB / 259.7 MB, free: 10.34 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.02032, allocations: 45.7 kB / 259.7 MB, free: 10.29 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002192/0.02054, allocations: 334.8 kB / 260 MB, free: 9.949 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001817/0.02072, allocations: 71.97 kB / 260.1 MB, free: 9.879 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002999/0.02102, allocations: 180.5 kB / 260.3 MB, free: 9.672 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000394/0.02142, allocations: 179.2 kB / 260.5 MB, free: 9.484 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.037e-06/0.02142, allocations: 4 kB / 260.5 MB, free: 9.48 MB / 250.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006462/0.02207, allocations: 290.2 kB / 260.8 MB, free: 9.188 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.02209, allocations: 4 kB / 260.8 MB, free: 9.184 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.0221, allocations: 0 / 260.8 MB, free: 9.184 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000484/0.02258, allocations: 92.73 kB / 260.8 MB, free: 9.09 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001723/0.02275, allocations: 36.02 kB / 260.9 MB, free: 9.055 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003521/0.02628, allocations: 2.001 MB / 262.9 MB, free: 6.953 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002749/0.02655, allocations: 35.88 kB / 262.9 MB, free: 6.918 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.578e-05/0.02658, allocations: 8 kB / 262.9 MB, free: 6.91 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.0002381/0.02681, allocations: 149.8 kB / 263.1 MB, free: 6.754 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.036e-05/0.02688, allocations: 31.86 kB / 263.1 MB, free: 6.723 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.742e-05/0.02695, allocations: 30.27 kB / 263.1 MB, free: 6.691 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.02696, allocations: 4 kB / 263.1 MB, free: 6.688 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.806e-06/0.02696, allocations: 0 / 263.1 MB, free: 6.688 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.695e-06/0.02697, allocations: 3.938 kB / 263.1 MB, free: 6.684 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001156/0.02813, allocations: 0.6632 MB / 263.8 MB, free: 5.977 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.02813, allocations: 0 / 263.8 MB, free: 5.977 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001353/0.02826, allocations: 16 kB / 263.8 MB, free: 5.961 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003067/0.02857, allocations: 96.77 kB / 263.9 MB, free: 5.863 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.726e-05/0.0286, allocations: 8 kB / 263.9 MB, free: 5.855 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002833/0.03143, allocations: 1.993 MB / 265.9 MB, free: 3.762 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.044e-06/0.03144, allocations: 3.938 kB / 265.9 MB, free: 3.758 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008934/0.03233, allocations: 454.5 kB / 266.4 MB, free: 3.293 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001248/0.03246, allocations: 43.86 kB / 266.4 MB, free: 3.25 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.157e-05/0.0325, allocations: 8 kB / 266.4 MB, free: 3.242 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000212/0.03271, allocations: 20.11 kB / 266.4 MB, free: 3.223 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001293/0.03284, allocations: 35.94 kB / 266.5 MB, free: 3.188 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.187e-05/0.03286, allocations: 8.047 kB / 266.5 MB, free: 3.18 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002324/0.03309, allocations: 173.2 kB / 266.6 MB, free: 3.008 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03309, allocations: 0 / 266.6 MB, free: 3.008 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000548/0.03364, allocations: 95.78 kB / 266.7 MB, free: 2.914 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.0001838/0.03383, allocations: 107.2 kB / 266.8 MB, free: 2.801 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0008862/0.03471, allocations: 345.1 kB / 267.2 MB, free: 2.453 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.03471, allocations: 0 / 267.2 MB, free: 2.453 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004871/0.0352, allocations: 258.5 kB / 267.4 MB, free: 2.188 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004723/0.03567, allocations: 61.3 kB / 267.5 MB, free: 2.129 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001576/0.03725, allocations: 0.553 MB / 268 MB, free: 1.547 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002296/0.03748, allocations: 162.8 kB / 268.2 MB, free: 1.367 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001097/0.03759, allocations: 22.28 kB / 268.2 MB, free: 1.344 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.43e-05/0.03765, allocations: 24.5 kB / 268.2 MB, free: 1.32 MB / 250.7 MB Notification: Performance of SimCode: time 1.082e-06/0.03765, allocations: 0 / 268.2 MB, free: 1.32 MB / 250.7 MB Notification: Performance of Templates: time 0.01119/0.04884, allocations: 4.566 MB / 272.8 MB, free: 12.78 MB / 266.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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.715689107077196]