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.001249/0.001249, allocations: 84.69 kB / 21.43 MB, free: 296 kB / 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.001409/0.001409, allocations: 164 kB / 24.7 MB, free: 3.547 MB / 14.72 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.317/1.317, allocations: 158.6 MB / 186.5 MB, free: 6.402 MB / 174.1 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 1.693e-06/1.693e-06, allocations: 0 / 298.9 MB, free: 8.73 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.624e-05/2.793e-05, allocations: 2.281 kB / 298.9 MB, free: 8.727 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.IdealTriacCircuit): time 0.004336/0.004364, allocations: 2.68 MB / 301.6 MB, free: 6.023 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001608/0.005971, allocations: 0.7448 MB / 302.4 MB, free: 5.27 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000184/0.006155, allocations: 7.938 kB / 302.4 MB, free: 5.262 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000195/0.00635, allocations: 51.5 kB / 302.4 MB, free: 5.211 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002421/0.006593, allocations: 99.06 kB / 302.5 MB, free: 5.113 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003718/0.006964, allocations: 115.7 kB / 302.6 MB, free: 5 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005043/0.007469, allocations: 426 kB / 303.1 MB, free: 4.582 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002356/0.007704, allocations: 79.67 kB / 303.1 MB, free: 4.504 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003544/0.008059, allocations: 227.6 kB / 303.4 MB, free: 4.281 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002223/0.008281, allocations: 123.6 kB / 303.5 MB, free: 4.16 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.944e-05/0.00836, allocations: 40 kB / 303.5 MB, free: 4.121 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.728e-05/0.008428, allocations: 36 kB / 303.6 MB, free: 4.086 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.832e-05/0.008516, allocations: 75.73 kB / 303.6 MB, free: 4.012 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001719/0.008688, allocations: 127.7 kB / 303.8 MB, free: 3.887 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005304/0.009218, allocations: 450.6 kB / 304.2 MB, free: 3.445 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.009223, allocations: 4 kB / 304.2 MB, free: 3.441 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.009224, allocations: 4 kB / 304.2 MB, free: 3.438 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.635e-05/0.009241, allocations: 3.938 kB / 304.2 MB, free: 3.434 MB / 286.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.001164/0.01041, allocations: 0.5411 MB / 304.7 MB, free: 2.863 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.01045, allocations: 19.98 kB / 304.8 MB, free: 2.844 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.97e-05/0.01054, allocations: 40.69 kB / 304.8 MB, free: 2.805 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004843/0.01103, allocations: 225.2 kB / 305 MB, free: 2.559 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.156e-05/0.01106, allocations: 20.88 kB / 305 MB, free: 2.539 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.501e-05/0.01111, allocations: 24.38 kB / 305.1 MB, free: 2.516 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005843/0.0117, allocations: 339.5 kB / 305.4 MB, free: 2.156 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.01171, allocations: 192 / 305.4 MB, free: 2.156 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.644e-05/0.01175, allocations: 12.38 kB / 305.4 MB, free: 2.145 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/0.01176, allocations: 7.938 kB / 305.4 MB, free: 2.137 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004301/0.01219, allocations: 205.9 kB / 305.6 MB, free: 1.938 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001748/0.01394, allocations: 0.9896 MB / 306.6 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005615/0.0145, allocations: 198.7 kB / 306.8 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003195/0.01482, allocations: 128.7 kB / 306.9 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.233e-05/0.01484, allocations: 4 kB / 306.9 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003451/0.01519, allocations: 214.1 kB / 307.1 MB, free: 316 kB / 286.1 MB Notification: Performance of pre-optimization done (n=22): time 2.745e-06/0.01519, allocations: 0 / 307.1 MB, free: 316 kB / 286.1 MB Notification: Performance of matching and sorting (n=22): time 0.001473/0.01666, allocations: 445.9 kB / 307.6 MB, free: 15.86 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001221/0.01678, allocations: 140.4 kB / 307.7 MB, free: 15.7 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000276/0.01706, allocations: 225.8 kB / 307.9 MB, free: 15.46 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.288e-05/0.01709, allocations: 33.7 kB / 308 MB, free: 15.42 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001642/0.01726, allocations: 180.6 kB / 308.1 MB, free: 15.24 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.734e-05/0.01733, allocations: 71.41 kB / 308.2 MB, free: 15.17 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.72e-05/0.01742, allocations: 49.66 kB / 308.3 MB, free: 15.12 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.01758, allocations: 334.8 kB / 308.6 MB, free: 14.78 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001612/0.01775, allocations: 67.97 kB / 308.7 MB, free: 14.71 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002298/0.01798, allocations: 172.5 kB / 308.8 MB, free: 14.52 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003399/0.01832, allocations: 175.3 kB / 309 MB, free: 14.33 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.01832, allocations: 4.031 kB / 309 MB, free: 14.33 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005353/0.01885, allocations: 286.2 kB / 309.3 MB, free: 14.04 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.01887, allocations: 10.5 kB / 309.3 MB, free: 14.03 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.01888, allocations: 0 / 309.3 MB, free: 14.03 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003611/0.01924, allocations: 100.7 kB / 309.4 MB, free: 13.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/0.01938, allocations: 23.98 kB / 309.4 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002603/0.02198, allocations: 1.985 MB / 311.4 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002255/0.02221, allocations: 35.8 kB / 311.4 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.836e-05/0.02224, allocations: 12.14 kB / 311.4 MB, free: 11.77 MB / 302.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.0001762/0.02241, allocations: 142.1 kB / 311.6 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.33e-05/0.02246, allocations: 23.86 kB / 311.6 MB, free: 11.6 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.627e-05/0.02252, allocations: 38.2 kB / 311.6 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.02253, allocations: 0 / 311.6 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.02253, allocations: 4 kB / 311.6 MB, free: 11.56 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.47e-05/0.02255, allocations: 3.938 kB / 311.6 MB, free: 11.56 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009701/0.02352, allocations: 0.6515 MB / 312.3 MB, free: 10.86 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.02352, allocations: 4.031 kB / 312.3 MB, free: 10.86 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001229/0.02364, allocations: 23.92 kB / 312.3 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002742/0.02392, allocations: 92.84 kB / 312.4 MB, free: 10.74 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.318e-05/0.02394, allocations: 7.984 kB / 312.4 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002413/0.02635, allocations: 1.997 MB / 314.4 MB, free: 8.637 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.02635, allocations: 0 / 314.4 MB, free: 8.637 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007988/0.02715, allocations: 446.5 kB / 314.9 MB, free: 8.18 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.02726, allocations: 39.86 kB / 314.9 MB, free: 8.141 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.943e-05/0.0273, allocations: 8 kB / 314.9 MB, free: 8.133 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002071/0.0275, allocations: 16.09 kB / 314.9 MB, free: 8.117 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.02762, allocations: 43.94 kB / 315 MB, free: 8.074 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.286e-05/0.02764, allocations: 11.94 kB / 315 MB, free: 8.062 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001819/0.02782, allocations: 169.2 kB / 315.1 MB, free: 7.898 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.02782, allocations: 0 / 315.1 MB, free: 7.898 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005002/0.02832, allocations: 99.78 kB / 315.2 MB, free: 7.801 MB / 302.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.0001639/0.02849, allocations: 99.25 kB / 315.3 MB, free: 7.691 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007847/0.02927, allocations: 354.5 kB / 315.7 MB, free: 7.332 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.02927, allocations: 0 / 315.7 MB, free: 7.332 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005109/0.02978, allocations: 254.4 kB / 315.9 MB, free: 7.07 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004508/0.03023, allocations: 64.91 kB / 316 MB, free: 7.008 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/0.03145, allocations: 0.5354 MB / 316.5 MB, free: 6.441 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001768/0.03163, allocations: 158.8 kB / 316.7 MB, free: 6.27 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.918e-05/0.03172, allocations: 22.28 kB / 316.7 MB, free: 6.246 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.301e-05/0.03177, allocations: 16.5 kB / 316.7 MB, free: 6.23 MB / 302.1 MB Notification: Performance of SimCode: time 6.71e-07/0.03177, allocations: 4 kB / 316.7 MB, free: 6.227 MB / 302.1 MB Notification: Performance of Templates: time 0.009935/0.04171, allocations: 4.532 MB / 321.3 MB, free: 1.695 MB / 302.1 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.428474009037018]