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.001307/0.001307, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 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.001502/0.001502, allocations: 207.3 kB / 23.72 MB, free: 4.391 MB / 14.72 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 1.465/1.465, allocations: 230.5 MB / 257.4 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] 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 0.002046/0.002046, allocations: 67.89 kB / 378.2 MB, free: 2.309 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3149/0.3169, allocations: 53.41 MB / 431.6 MB, free: 6.531 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.IdealTriacCircuit): time 0.004418/0.3214, allocations: 2.747 MB / 434.4 MB, free: 3.773 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001592/0.323, allocations: 0.7557 MB / 435.1 MB, free: 3.012 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001696/0.3231, allocations: 7.938 kB / 435.2 MB, free: 3.004 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001902/0.3233, allocations: 55.5 kB / 435.2 MB, free: 2.949 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002044/0.3235, allocations: 95.12 kB / 435.3 MB, free: 2.855 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003859/0.3239, allocations: 127.7 kB / 435.4 MB, free: 2.73 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004925/0.3244, allocations: 410.3 kB / 435.8 MB, free: 2.328 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002208/0.3246, allocations: 87.34 kB / 435.9 MB, free: 2.242 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000286/0.3249, allocations: 171.4 kB / 436.1 MB, free: 2.074 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002356/0.3251, allocations: 143.2 kB / 436.2 MB, free: 1.934 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.799e-05/0.3252, allocations: 36 kB / 436.3 MB, free: 1.898 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001028/0.3253, allocations: 48 kB / 436.3 MB, free: 1.852 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.204e-05/0.3254, allocations: 71.77 kB / 436.4 MB, free: 1.781 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000157/0.3255, allocations: 143.3 kB / 436.5 MB, free: 1.641 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005368/0.3261, allocations: 444.9 kB / 436.9 MB, free: 1.207 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.3261, allocations: 0 / 436.9 MB, free: 1.207 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3261, allocations: 0 / 436.9 MB, free: 1.207 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.757e-06/0.3261, allocations: 4 kB / 436.9 MB, free: 1.203 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.001122/0.3272, allocations: 0.5528 MB / 437.5 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.3272, allocations: 15.98 kB / 437.5 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000197/0.3274, allocations: 48.69 kB / 437.6 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004739/0.3279, allocations: 223.2 kB / 437.8 MB, free: 320 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.315e-05/0.328, allocations: 24.81 kB / 437.8 MB, free: 296 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.291e-05/0.328, allocations: 28.36 kB / 437.8 MB, free: 268 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006148/0.3286, allocations: 335.3 kB / 438.2 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.3286, allocations: 0 / 438.2 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.359e-05/0.3287, allocations: 15.98 kB / 438.2 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.3287, allocations: 4 kB / 438.2 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004242/0.3291, allocations: 205.8 kB / 438.4 MB, free: 15.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001707/0.3308, allocations: 0.9891 MB / 439.4 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00053/0.3313, allocations: 198.6 kB / 439.6 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002889/0.3316, allocations: 128.7 kB / 439.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.3316, allocations: 4 kB / 439.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003279/0.332, allocations: 221.5 kB / 439.9 MB, free: 14.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.433e-06/0.332, allocations: 0 / 439.9 MB, free: 14.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001444/0.3334, allocations: 445.9 kB / 440.3 MB, free: 13.61 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.499e-05/0.3335, allocations: 132.5 kB / 440.5 MB, free: 13.45 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002591/0.3338, allocations: 236.8 kB / 440.7 MB, free: 13.2 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.822e-05/0.3338, allocations: 33.7 kB / 440.7 MB, free: 13.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001403/0.3339, allocations: 176.6 kB / 440.9 MB, free: 12.99 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.752e-05/0.334, allocations: 71.38 kB / 441 MB, free: 12.92 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.361e-05/0.3341, allocations: 49.69 kB / 441 MB, free: 12.86 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.3343, allocations: 338.9 kB / 441.4 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001588/0.3344, allocations: 67.97 kB / 441.4 MB, free: 12.46 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002321/0.3347, allocations: 185.3 kB / 441.6 MB, free: 12.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003078/0.335, allocations: 167.9 kB / 441.8 MB, free: 12.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.335, allocations: 4 kB / 441.8 MB, free: 12.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005042/0.3355, allocations: 282.3 kB / 442.1 MB, free: 11.78 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.3355, allocations: 11.94 kB / 442.1 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.3355, allocations: 0 / 442.1 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003603/0.3359, allocations: 100.7 kB / 442.2 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001566/0.336, allocations: 27.92 kB / 442.2 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002481/0.3385, allocations: 1.993 MB / 444.2 MB, free: 9.543 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002076/0.3387, allocations: 27.86 kB / 444.2 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.097e-05/0.3387, allocations: 12 kB / 444.2 MB, free: 9.504 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.0001696/0.3389, allocations: 149.8 kB / 444.4 MB, free: 9.348 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.275e-05/0.339, allocations: 31.88 kB / 444.4 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.081e-05/0.339, allocations: 34.2 kB / 444.4 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.339, allocations: 7.938 kB / 444.4 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-06/0.339, allocations: 0 / 444.4 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.339, allocations: 0 / 444.4 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001011/0.34, allocations: 0.6587 MB / 445.1 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.34, allocations: 0 / 445.1 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001138/0.3402, allocations: 19.98 kB / 445.1 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002606/0.3404, allocations: 88.83 kB / 445.2 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.212e-05/0.3404, allocations: 15.98 kB / 445.2 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002329/0.3428, allocations: 1.985 MB / 447.2 MB, free: 6.352 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.3428, allocations: 3.938 kB / 447.2 MB, free: 6.348 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007439/0.3435, allocations: 456.8 kB / 447.7 MB, free: 5.883 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/0.3436, allocations: 43.89 kB / 447.7 MB, free: 5.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.639e-05/0.3437, allocations: 11.94 kB / 447.7 MB, free: 5.828 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002317/0.3439, allocations: 19.98 kB / 447.7 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.344, allocations: 39.88 kB / 447.8 MB, free: 5.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.657e-05/0.344, allocations: 7.984 kB / 447.8 MB, free: 5.762 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001662/0.3442, allocations: 164.5 kB / 447.9 MB, free: 5.605 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3442, allocations: 64 / 447.9 MB, free: 5.605 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004898/0.3447, allocations: 99.83 kB / 448 MB, free: 5.508 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.0001465/0.3448, allocations: 103.2 kB / 448.1 MB, free: 5.398 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007465/0.3456, allocations: 350.2 kB / 448.5 MB, free: 5.043 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3456, allocations: 0 / 448.5 MB, free: 5.043 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004306/0.346, allocations: 257.8 kB / 448.7 MB, free: 4.781 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004156/0.3464, allocations: 47.42 kB / 448.8 MB, free: 4.738 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/0.3477, allocations: 0.5935 MB / 449.4 MB, free: 4.121 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001944/0.3478, allocations: 167.4 kB / 449.5 MB, free: 3.938 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.895e-05/0.3479, allocations: 22.28 kB / 449.6 MB, free: 3.914 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.72e-05/0.348, allocations: 15.44 kB / 449.6 MB, free: 3.898 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.348, allocations: 3.938 kB / 449.6 MB, free: 3.895 MB / 350.1 MB Notification: Performance of Templates: time 0.01055/0.3585, allocations: 4.865 MB / 454.4 MB, free: 15.11 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.709389302879572]