Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001265/0.001265, allocations: 114.1 kB / 18.45 MB, free: 4.605 MB / 14.72 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.001451/0.001451, allocations: 208.3 kB / 21.41 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.443/1.443, allocations: 230.6 MB / 254.8 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 51.94 kB / 374.2 MB, free: 9.777 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1088, allocations: 53.33 MB / 427.5 MB, free: 4.352 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.IdealTriacCircuit): time 0.005054/0.1139, allocations: 2.945 MB / 430.4 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001763/0.1156, allocations: 0.8062 MB / 431.2 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001546/0.1158, allocations: 4 kB / 431.3 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001771/0.116, allocations: 51.5 kB / 431.3 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003037/0.1163, allocations: 107.1 kB / 431.4 MB, free: 428 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003524/0.1166, allocations: 111.8 kB / 431.5 MB, free: 316 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.199/0.3156, allocations: 406.2 kB / 431.9 MB, free: 8.102 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002684/0.3159, allocations: 92 kB / 432 MB, free: 8.086 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003532/0.3163, allocations: 159.6 kB / 432.2 MB, free: 8.086 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002036/0.3165, allocations: 165.7 kB / 432.3 MB, free: 8.051 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.841e-05/0.3165, allocations: 36.47 kB / 432.4 MB, free: 8.051 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001022/0.3166, allocations: 39.31 kB / 432.4 MB, free: 8.051 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.27e-05/0.3167, allocations: 75.86 kB / 432.5 MB, free: 8.039 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001506/0.3168, allocations: 182.8 kB / 432.6 MB, free: 7.992 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004532/0.3173, allocations: 445.8 kB / 433.1 MB, free: 7.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.3173, allocations: 1.125 kB / 433.1 MB, free: 7.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3173, allocations: 0 / 433.1 MB, free: 7.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.3173, allocations: 1.688 kB / 433.1 MB, free: 7.93 MB / 350.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.0009409/0.3182, allocations: 0.6253 MB / 433.7 MB, free: 7.469 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.3183, allocations: 8.188 kB / 433.7 MB, free: 7.469 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001776/0.3184, allocations: 48.08 kB / 433.8 MB, free: 7.449 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003381/0.3188, allocations: 294.4 kB / 434.1 MB, free: 7.219 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.3188, allocations: 17.91 kB / 434.1 MB, free: 7.215 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.978e-05/0.3188, allocations: 26.88 kB / 434.1 MB, free: 7.215 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004048/0.3192, allocations: 286.5 kB / 434.4 MB, free: 7.156 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.3193, allocations: 7.219 kB / 434.4 MB, free: 7.152 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.778e-05/0.3193, allocations: 12.84 kB / 434.4 MB, free: 7.152 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.3193, allocations: 7.25 kB / 434.4 MB, free: 7.152 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003547/0.3196, allocations: 198.4 kB / 434.6 MB, free: 7.152 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001427/0.3211, allocations: 1.157 MB / 435.8 MB, free: 6.578 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004706/0.3215, allocations: 193.5 kB / 435.9 MB, free: 6.551 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002698/0.3218, allocations: 124.7 kB / 436.1 MB, free: 6.543 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.3218, allocations: 5.531 kB / 436.1 MB, free: 6.543 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00025/0.3221, allocations: 175.2 kB / 436.2 MB, free: 6.461 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.773e-06/0.3221, allocations: 3.047 kB / 436.2 MB, free: 6.461 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001364/0.3234, allocations: 0.5056 MB / 436.8 MB, free: 6.305 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.547e-05/0.3235, allocations: 143.6 kB / 436.9 MB, free: 6.141 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002262/0.3237, allocations: 246 kB / 437.1 MB, free: 6.039 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.3237, allocations: 30.8 kB / 437.2 MB, free: 6.008 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.442e-05/0.3238, allocations: 174.7 kB / 437.3 MB, free: 5.891 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.759e-05/0.3239, allocations: 67.67 kB / 437.4 MB, free: 5.848 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.637e-05/0.324, allocations: 54.84 kB / 437.5 MB, free: 5.828 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.213e-05/0.324, allocations: 330.9 kB / 437.8 MB, free: 5.516 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001486/0.3242, allocations: 75.19 kB / 437.8 MB, free: 5.512 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001702/0.3243, allocations: 129.8 kB / 438 MB, free: 5.457 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002688/0.3246, allocations: 166.5 kB / 438.1 MB, free: 5.422 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.3246, allocations: 1.125 kB / 438.1 MB, free: 5.422 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004665/0.3251, allocations: 289.7 kB / 438.4 MB, free: 5.344 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.3251, allocations: 7.219 kB / 438.4 MB, free: 5.344 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.3251, allocations: 0 / 438.4 MB, free: 5.344 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003433/0.3255, allocations: 95.16 kB / 438.5 MB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.3256, allocations: 30.83 kB / 438.6 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00191/0.3275, allocations: 2.148 MB / 440.7 MB, free: 3.449 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002138/0.3277, allocations: 33.52 kB / 440.7 MB, free: 3.434 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.788e-05/0.3277, allocations: 6.328 kB / 440.7 MB, free: 3.434 MB / 350.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.00012/0.3279, allocations: 150.3 kB / 440.9 MB, free: 3.297 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.128e-05/0.3279, allocations: 29.89 kB / 440.9 MB, free: 3.281 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.185e-05/0.328, allocations: 34.59 kB / 440.9 MB, free: 3.258 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.328, allocations: 2.438 kB / 441 MB, free: 3.258 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.328, allocations: 1.125 kB / 441 MB, free: 3.258 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.328, allocations: 2.953 kB / 441 MB, free: 3.258 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008654/0.3288, allocations: 0.7633 MB / 441.7 MB, free: 2.699 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.3288, allocations: 0.7031 kB / 441.7 MB, free: 2.699 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001103/0.3289, allocations: 22.48 kB / 441.7 MB, free: 2.699 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002642/0.3292, allocations: 89.89 kB / 441.8 MB, free: 2.664 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.956e-05/0.3292, allocations: 7.312 kB / 441.8 MB, free: 2.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001826/0.3311, allocations: 2.147 MB / 444 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.3311, allocations: 1.25 kB / 444 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005986/0.3317, allocations: 445.1 kB / 444.4 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.196e-05/0.3317, allocations: 130 kB / 444.5 MB, free: 416 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.643e-05/0.3318, allocations: 12.16 kB / 444.6 MB, free: 412 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002035/0.332, allocations: 18.47 kB / 444.6 MB, free: 408 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/0.3321, allocations: 32.98 kB / 444.6 MB, free: 400 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/0.3321, allocations: 9.547 kB / 444.6 MB, free: 396 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001542/0.3323, allocations: 175.3 kB / 444.8 MB, free: 292 kB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3323, allocations: 0 / 444.8 MB, free: 292 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004617/0.3327, allocations: 89.69 kB / 444.9 MB, free: 276 kB / 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.0001161/0.3328, allocations: 112.6 kB / 445 MB, free: 180 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007027/0.3335, allocations: 355.4 kB / 445.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.3336, allocations: 1.344 kB / 445.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004685/0.334, allocations: 259.6 kB / 445.6 MB, free: 15.81 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004528/0.3345, allocations: 58.86 kB / 445.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001358/0.3358, allocations: 0.6317 MB / 446.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000484/0.3363, allocations: 0.7703 MB / 447 MB, free: 14.69 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.84e-05/0.3364, allocations: 24.08 kB / 447.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3364, allocations: 0 / 447.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of Templates: time 0.009347/0.3457, allocations: 4.722 MB / 451.8 MB, free: 14.3 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/IdealTriacCircuit/IdealTriacCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 7.564066111983266]