Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001597/0.001597, allocations: 114.9 kB / 19.04 MB, free: 3.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 190 kB / 22.21 MB, free: 112 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.486/1.486, allocations: 225.6 MB / 250.8 MB, free: 13.39 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 51.92 kB / 368.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2737/0.2753, allocations: 52.15 MB / 420.9 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.IdealTriacCircuit): time 0.004275/0.2795, allocations: 2.954 MB / 423.8 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001323/0.2809, allocations: 0.7401 MB / 424.6 MB, free: 11.37 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001314/0.281, allocations: 4 kB / 424.6 MB, free: 11.37 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001726/0.2812, allocations: 51.5 kB / 424.6 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001825/0.2813, allocations: 99.12 kB / 424.7 MB, free: 11.22 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002871/0.2816, allocations: 95.83 kB / 424.8 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004469/0.2821, allocations: 414.3 kB / 425.2 MB, free: 10.72 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002086/0.2823, allocations: 87.28 kB / 425.3 MB, free: 10.62 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001957/0.2825, allocations: 159.4 kB / 425.5 MB, free: 10.47 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002125/0.2827, allocations: 159.3 kB / 425.6 MB, free: 10.31 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.699e-05/0.2828, allocations: 40 kB / 425.7 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.359e-05/0.2828, allocations: 36 kB / 425.7 MB, free: 10.24 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.691e-05/0.2829, allocations: 79.73 kB / 425.8 MB, free: 10.16 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001661/0.2831, allocations: 175.1 kB / 425.9 MB, free: 9.988 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004453/0.2835, allocations: 435.6 kB / 426.4 MB, free: 9.566 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2835, allocations: 0 / 426.4 MB, free: 9.566 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.2835, allocations: 3.938 kB / 426.4 MB, free: 9.562 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.2835, allocations: 0 / 426.4 MB, free: 9.562 MB / 334.1 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.001016/0.2845, allocations: 0.6281 MB / 427 MB, free: 8.887 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.2846, allocations: 12.03 kB / 427 MB, free: 8.875 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.15e-05/0.2846, allocations: 36.75 kB / 427 MB, free: 8.84 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004039/0.285, allocations: 291.7 kB / 427.3 MB, free: 8.516 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.427e-05/0.2851, allocations: 20.94 kB / 427.3 MB, free: 8.496 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.133e-05/0.2851, allocations: 24.38 kB / 427.4 MB, free: 8.473 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005018/0.2856, allocations: 284.9 kB / 427.7 MB, free: 8.184 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.2856, allocations: 0 / 427.7 MB, free: 8.184 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.199e-05/0.2857, allocations: 12 kB / 427.7 MB, free: 8.172 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.595e-06/0.2857, allocations: 4 kB / 427.7 MB, free: 8.168 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004042/0.2861, allocations: 210.1 kB / 427.9 MB, free: 7.961 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00172/0.2878, allocations: 1.152 MB / 429 MB, free: 6.73 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004767/0.2883, allocations: 202.5 kB / 429.2 MB, free: 6.523 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002867/0.2886, allocations: 128.8 kB / 429.3 MB, free: 6.395 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.2886, allocations: 0 / 429.3 MB, free: 6.395 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003283/0.2889, allocations: 166.7 kB / 429.5 MB, free: 6.207 MB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.203e-06/0.2889, allocations: 0 / 429.5 MB, free: 6.207 MB / 334.1 MB Notification: Performance of matching and sorting (n=22): time 0.001372/0.2903, allocations: 0.5095 MB / 430 MB, free: 5.672 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001454/0.2904, allocations: 132.5 kB / 430.1 MB, free: 5.512 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002637/0.2907, allocations: 245 kB / 430.4 MB, free: 5.266 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.004e-05/0.2907, allocations: 33.7 kB / 430.4 MB, free: 5.227 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000132/0.2909, allocations: 172.6 kB / 430.6 MB, free: 5.055 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.674e-05/0.2909, allocations: 71.38 kB / 430.7 MB, free: 4.984 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.205e-05/0.291, allocations: 53.64 kB / 430.7 MB, free: 4.926 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.2912, allocations: 334.8 kB / 431 MB, free: 4.59 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001553/0.2913, allocations: 75.91 kB / 431.1 MB, free: 4.516 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002037/0.2915, allocations: 137 kB / 431.2 MB, free: 4.363 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002984/0.2918, allocations: 171.3 kB / 431.4 MB, free: 4.184 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.2918, allocations: 0 / 431.4 MB, free: 4.184 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00052/0.2923, allocations: 294.2 kB / 431.7 MB, free: 3.887 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.2924, allocations: 4 kB / 431.7 MB, free: 3.883 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.2924, allocations: 0 / 431.7 MB, free: 3.883 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003285/0.2927, allocations: 88.8 kB / 431.8 MB, free: 3.793 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.2928, allocations: 27.92 kB / 431.8 MB, free: 3.766 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002518/0.2953, allocations: 2.154 MB / 434 MB, free: 1.465 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002262/0.2956, allocations: 27.88 kB / 434 MB, free: 1.438 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.264e-05/0.2956, allocations: 8.062 kB / 434 MB, free: 1.43 MB / 334.1 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.0001979/0.2958, allocations: 151.2 kB / 434.2 MB, free: 1.273 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.857e-05/0.2958, allocations: 31.86 kB / 434.2 MB, free: 1.242 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.308e-05/0.2959, allocations: 34.17 kB / 434.2 MB, free: 1.211 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.2959, allocations: 4 kB / 434.2 MB, free: 1.207 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.2959, allocations: 0 / 434.2 MB, free: 1.207 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.2959, allocations: 0 / 434.2 MB, free: 1.207 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001047/0.297, allocations: 0.7611 MB / 435 MB, free: 392 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.297, allocations: 4 kB / 435 MB, free: 388 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.2971, allocations: 20.02 kB / 435 MB, free: 368 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00026/0.2973, allocations: 88.81 kB / 435.1 MB, free: 276 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.2974, allocations: 0 / 435.1 MB, free: 276 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002426/0.2998, allocations: 2.154 MB / 437.3 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.2998, allocations: 4.031 kB / 437.3 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007982/0.3006, allocations: 446.6 kB / 437.7 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001491/0.3007, allocations: 128.9 kB / 437.8 MB, free: 13.37 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.716e-05/0.3008, allocations: 4 kB / 437.8 MB, free: 13.37 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001962/0.301, allocations: 20.05 kB / 437.8 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.3011, allocations: 31.95 kB / 437.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.861e-05/0.3011, allocations: 12.08 kB / 437.9 MB, free: 13.3 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001822/0.3013, allocations: 180.4 kB / 438.1 MB, free: 13.13 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3013, allocations: 0 / 438.1 MB, free: 13.13 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004603/0.3017, allocations: 91.83 kB / 438.1 MB, free: 13.04 MB / 350.1 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.0001421/0.3019, allocations: 104.8 kB / 438.3 MB, free: 12.93 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006911/0.3026, allocations: 354.3 kB / 438.6 MB, free: 12.57 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.3026, allocations: 0 / 438.6 MB, free: 12.57 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004056/0.303, allocations: 254.5 kB / 438.8 MB, free: 12.31 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000403/0.3034, allocations: 56.92 kB / 438.9 MB, free: 12.25 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001215/0.3046, allocations: 0.6159 MB / 439.5 MB, free: 11.61 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004832/0.3051, allocations: 0.7596 MB / 440.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000103/0.3052, allocations: 30.27 kB / 440.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.703e-05/0.3052, allocations: 19.44 kB / 440.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of SimCode: time 7.91e-07/0.3052, allocations: 0 / 440.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of Templates: time 0.01052/0.3157, allocations: 5.031 MB / 445.4 MB, free: 5.809 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/IdealTriacCircuit/IdealTriacCircuit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.630488460883498]