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.001094/0.001094, allocations: 75.77 kB / 22.46 MB, free: 2.094 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.001141/0.001141, allocations: 168 kB / 25.75 MB, free: 8.961 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 0.9294/0.9294, allocations: 158.6 MB / 187.5 MB, free: 2.902 MB / 170.7 MB " [Timeout remaining time 179] 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.784e-06/1.784e-06, allocations: 0 / 251.1 MB, free: 7.801 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.098e-05/3.276e-05, allocations: 6.312 kB / 251.1 MB, free: 7.793 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.IdealTriacCircuit): time 0.007565/0.007598, allocations: 2.895 MB / 254 MB, free: 4.879 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001528/0.009126, allocations: 0.7487 MB / 254.8 MB, free: 4.121 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001769/0.009302, allocations: 4 kB / 254.8 MB, free: 4.117 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001944/0.009497, allocations: 59.44 kB / 254.8 MB, free: 4.059 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002159/0.009713, allocations: 99.06 kB / 254.9 MB, free: 3.961 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003581/0.01007, allocations: 111.7 kB / 255 MB, free: 3.852 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004416/0.01051, allocations: 429.9 kB / 255.4 MB, free: 3.43 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000222/0.01073, allocations: 79.69 kB / 255.5 MB, free: 3.348 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003176/0.01105, allocations: 243.5 kB / 255.8 MB, free: 3.109 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002173/0.01127, allocations: 119.7 kB / 255.9 MB, free: 2.992 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 6.344e-05/0.01133, allocations: 40 kB / 255.9 MB, free: 2.953 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.967e-05/0.01139, allocations: 39.94 kB / 255.9 MB, free: 2.914 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 7.444e-05/0.01147, allocations: 79.73 kB / 256 MB, free: 2.832 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001459/0.01161, allocations: 115.8 kB / 256.1 MB, free: 2.719 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003477/0.01196, allocations: 275 kB / 256.4 MB, free: 2.449 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.01197, allocations: 0 / 256.4 MB, free: 2.449 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.01197, allocations: 0 / 256.4 MB, free: 2.449 MB / 234.7 MB Notification: Performance of Transformations before backend: time 6.643e-06/0.01198, allocations: 0 / 256.4 MB, free: 2.449 MB / 234.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.001042/0.01302, allocations: 0.6449 MB / 257.1 MB, free: 1.77 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.492e-05/0.01307, allocations: 15.92 kB / 257.1 MB, free: 1.754 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001344/0.01321, allocations: 56.7 kB / 257.1 MB, free: 1.699 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003445/0.01355, allocations: 224.1 kB / 257.3 MB, free: 1.453 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.01357, allocations: 20.88 kB / 257.4 MB, free: 1.43 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.845e-05/0.01361, allocations: 24.38 kB / 257.4 MB, free: 1.406 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003292/0.01394, allocations: 296.7 kB / 257.7 MB, free: 1.082 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.567e-06/0.01395, allocations: 192 / 257.7 MB, free: 1.082 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.176e-05/0.01397, allocations: 8.375 kB / 257.7 MB, free: 1.074 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.222e-05/0.01398, allocations: 11.94 kB / 257.7 MB, free: 1.062 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001769/0.01416, allocations: 106.9 kB / 257.8 MB, free: 0.9609 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00106/0.01522, allocations: 1.092 MB / 258.9 MB, free: 15.8 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003158/0.01553, allocations: 163.2 kB / 259.1 MB, free: 15.63 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001655/0.0157, allocations: 91.58 kB / 259.1 MB, free: 15.54 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.003e-05/0.01572, allocations: 12 kB / 259.2 MB, free: 15.52 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001935/0.01591, allocations: 203.1 kB / 259.4 MB, free: 15.28 MB / 250.7 MB Notification: Performance of pre-optimization done (n=22): time 1.313e-06/0.01591, allocations: 0 / 259.4 MB, free: 15.28 MB / 250.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007891/0.0167, allocations: 364.7 kB / 259.7 MB, free: 14.91 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.92e-05/0.01676, allocations: 136.5 kB / 259.8 MB, free: 14.75 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001724/0.01693, allocations: 268.3 kB / 260.1 MB, free: 14.47 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.117e-05/0.01695, allocations: 33.69 kB / 260.1 MB, free: 14.43 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.01706, allocations: 219.3 kB / 260.4 MB, free: 14.21 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.884e-05/0.0171, allocations: 71.41 kB / 260.4 MB, free: 14.14 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.561e-05/0.01717, allocations: 63.31 kB / 260.5 MB, free: 14.07 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.01731, allocations: 0.5001 MB / 261 MB, free: 13.56 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.306e-05/0.01738, allocations: 31.98 kB / 261 MB, free: 13.53 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.01749, allocations: 149.5 kB / 261.2 MB, free: 13.35 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001417/0.01763, allocations: 130.6 kB / 261.3 MB, free: 13.2 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.01763, allocations: 0 / 261.3 MB, free: 13.2 MB / 250.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003118/0.01795, allocations: 221 kB / 261.5 MB, free: 12.98 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.01796, allocations: 4 kB / 261.5 MB, free: 12.97 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.01796, allocations: 0 / 261.5 MB, free: 12.97 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002223/0.01819, allocations: 71.56 kB / 261.6 MB, free: 12.9 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.901e-05/0.01826, allocations: 28.08 kB / 261.6 MB, free: 12.87 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001402/0.01967, allocations: 2.356 MB / 264 MB, free: 10.4 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.165e-05/0.01976, allocations: 35.84 kB / 264 MB, free: 10.36 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.01977, allocations: 8 kB / 264 MB, free: 10.36 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.0001069/0.01988, allocations: 168.6 kB / 264.2 MB, free: 10.18 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.359e-05/0.01991, allocations: 35.8 kB / 264.2 MB, free: 10.14 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.478e-05/0.01994, allocations: 30.27 kB / 264.2 MB, free: 10.11 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.145e-06/0.01995, allocations: 4 kB / 264.2 MB, free: 10.11 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.01995, allocations: 0 / 264.2 MB, free: 10.11 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.01996, allocations: 3.938 kB / 264.2 MB, free: 10.1 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005583/0.02051, allocations: 0.6757 MB / 264.9 MB, free: 9.375 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.02052, allocations: 4.031 kB / 264.9 MB, free: 9.371 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.668e-05/0.02058, allocations: 19.98 kB / 264.9 MB, free: 9.352 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001498/0.02073, allocations: 67.67 kB / 265 MB, free: 9.281 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.02075, allocations: 8 kB / 265 MB, free: 9.273 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00135/0.0221, allocations: 2.376 MB / 267.4 MB, free: 6.777 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.0221, allocations: 0 / 267.4 MB, free: 6.777 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003415/0.02244, allocations: 392.5 kB / 267.8 MB, free: 6.367 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.304e-05/0.0225, allocations: 47.78 kB / 267.8 MB, free: 6.32 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.164e-05/0.02252, allocations: 7.984 kB / 267.8 MB, free: 6.312 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.141e-05/0.02262, allocations: 12 kB / 267.8 MB, free: 6.301 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.479e-05/0.0227, allocations: 36 kB / 267.9 MB, free: 6.266 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.02271, allocations: 11.92 kB / 267.9 MB, free: 6.254 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001001/0.02281, allocations: 193.2 kB / 268.1 MB, free: 6.062 MB / 250.7 MB Notification: Performance of sort global known variables: time 3e-08/0.02281, allocations: 3.938 kB / 268.1 MB, free: 6.059 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000285/0.0231, allocations: 95.84 kB / 268.2 MB, free: 5.965 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.0001102/0.02321, allocations: 103.2 kB / 268.3 MB, free: 5.855 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004228/0.02363, allocations: 352 kB / 268.6 MB, free: 5.492 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.02363, allocations: 0 / 268.6 MB, free: 5.492 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002235/0.02386, allocations: 293.4 kB / 268.9 MB, free: 5.184 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002766/0.02413, allocations: 52.88 kB / 269 MB, free: 5.133 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.02514, allocations: 0.5573 MB / 269.5 MB, free: 4.543 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.895e-05/0.0252, allocations: 92.3 kB / 269.6 MB, free: 4.434 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.324e-05/0.02526, allocations: 22.28 kB / 269.6 MB, free: 4.414 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.377e-05/0.0253, allocations: 24.5 kB / 269.6 MB, free: 4.391 MB / 250.7 MB Notification: Performance of SimCode: time 7.52e-07/0.02531, allocations: 0 / 269.6 MB, free: 4.391 MB / 250.7 MB Notification: Performance of Templates: time 0.006467/0.03177, allocations: 4.633 MB / 274.3 MB, free: 15.79 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.912560717202723]