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.001394/0.001394, allocations: 88.62 kB / 20.96 MB, free: 3.477 MB / 18.57 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.002128/0.002128, allocations: 149.4 kB / 24.26 MB, free: 184 kB / 18.57 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.482/1.482, allocations: 173.4 MB / 200.8 MB, free: 9.293 MB / 186.7 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 1.643e-06/1.643e-06, allocations: 0 / 267.3 MB, free: 6.715 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.708e-05/2.872e-05, allocations: 2.312 kB / 267.3 MB, free: 6.711 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.IdealTriacCircuit): time 0.004515/0.004544, allocations: 2.729 MB / 270.1 MB, free: 3.965 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001751/0.006295, allocations: 0.701 MB / 270.8 MB, free: 3.258 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001468/0.006442, allocations: 4 kB / 270.8 MB, free: 3.254 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002026/0.006644, allocations: 47.52 kB / 270.8 MB, free: 3.207 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002377/0.006882, allocations: 115 kB / 270.9 MB, free: 3.094 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003345/0.007216, allocations: 99.81 kB / 271 MB, free: 2.996 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005006/0.007717, allocations: 418.1 kB / 271.4 MB, free: 2.586 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002277/0.007945, allocations: 99.52 kB / 271.5 MB, free: 2.484 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003472/0.008292, allocations: 231.4 kB / 271.8 MB, free: 2.258 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002229/0.008515, allocations: 119.7 kB / 271.9 MB, free: 2.141 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.746e-05/0.008582, allocations: 40 kB / 271.9 MB, free: 2.102 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.785e-05/0.00865, allocations: 36 kB / 271.9 MB, free: 2.066 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.586e-05/0.008736, allocations: 79.75 kB / 272 MB, free: 1.988 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001697/0.008906, allocations: 123.7 kB / 272.1 MB, free: 1.867 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005928/0.009498, allocations: 450.6 kB / 272.6 MB, free: 1.426 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.009501, allocations: 0 / 272.6 MB, free: 1.426 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.009502, allocations: 0 / 272.6 MB, free: 1.426 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.465e-06/0.009511, allocations: 3.984 kB / 272.6 MB, free: 1.422 MB / 250.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.001127/0.01064, allocations: 0.5489 MB / 273.1 MB, free: 0.8398 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.01068, allocations: 8.922 kB / 273.1 MB, free: 0.832 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001202/0.0108, allocations: 52.75 kB / 273.2 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004516/0.01125, allocations: 233.2 kB / 273.4 MB, free: 0.5273 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.767e-05/0.01128, allocations: 24.81 kB / 273.5 MB, free: 0.5039 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.019e-05/0.01134, allocations: 28.33 kB / 273.5 MB, free: 488 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005953/0.01193, allocations: 335.5 kB / 273.8 MB, free: 124 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.01194, allocations: 4.188 kB / 273.8 MB, free: 120 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.926e-05/0.01198, allocations: 12.38 kB / 273.8 MB, free: 108 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.01199, allocations: 7.938 kB / 273.8 MB, free: 100 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004771/0.01247, allocations: 205.9 kB / 274 MB, free: 15.89 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001866/0.01434, allocations: 0.9974 MB / 275 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000544/0.01488, allocations: 190.7 kB / 275.2 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003456/0.01523, allocations: 136.7 kB / 275.3 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.01525, allocations: 4 kB / 275.4 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003602/0.01561, allocations: 217.5 kB / 275.6 MB, free: 14.25 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 1.463e-06/0.01561, allocations: 8 kB / 275.6 MB, free: 14.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.001521/0.01713, allocations: 446 kB / 276 MB, free: 13.8 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001135/0.01725, allocations: 144.5 kB / 276.1 MB, free: 13.63 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002869/0.01753, allocations: 229.7 kB / 276.4 MB, free: 13.39 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.728e-05/0.01757, allocations: 33.7 kB / 276.4 MB, free: 13.36 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001556/0.01773, allocations: 168.6 kB / 276.6 MB, free: 13.19 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.434e-05/0.01781, allocations: 75.38 kB / 276.6 MB, free: 13.11 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/0.01792, allocations: 49.7 kB / 276.7 MB, free: 13.06 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000198/0.01812, allocations: 330.8 kB / 277 MB, free: 12.73 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001755/0.0183, allocations: 71.97 kB / 277.1 MB, free: 12.66 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002594/0.01856, allocations: 180.5 kB / 277.3 MB, free: 12.45 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003481/0.0189, allocations: 167.4 kB / 277.4 MB, free: 12.27 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.01891, allocations: 0 / 277.4 MB, free: 12.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008686/0.01977, allocations: 302.7 kB / 277.7 MB, free: 11.97 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.01979, allocations: 8 kB / 277.7 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.01979, allocations: 0 / 277.7 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003304/0.02012, allocations: 92.84 kB / 277.8 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.02026, allocations: 31.92 kB / 277.9 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002785/0.02305, allocations: 1.993 MB / 279.8 MB, free: 9.742 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002144/0.02326, allocations: 35.98 kB / 279.9 MB, free: 9.707 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.361e-05/0.02329, allocations: 11.94 kB / 279.9 MB, free: 9.695 MB / 266.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.0001796/0.02347, allocations: 149.8 kB / 280 MB, free: 9.539 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.053e-05/0.02353, allocations: 31.86 kB / 280.1 MB, free: 9.508 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.91e-05/0.02359, allocations: 34.27 kB / 280.1 MB, free: 9.477 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.0236, allocations: 0 / 280.1 MB, free: 9.477 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.0236, allocations: 0 / 280.1 MB, free: 9.477 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-06/0.02361, allocations: 7.938 kB / 280.1 MB, free: 9.469 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001058/0.02467, allocations: 0.6585 MB / 280.8 MB, free: 8.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.144e-06/0.02467, allocations: 7.984 kB / 280.8 MB, free: 8.762 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001256/0.0248, allocations: 12 kB / 280.8 MB, free: 8.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002914/0.02509, allocations: 88.8 kB / 280.9 MB, free: 8.66 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.157e-05/0.02511, allocations: 4 kB / 280.9 MB, free: 8.656 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002771/0.02788, allocations: 2.009 MB / 282.9 MB, free: 6.539 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.02788, allocations: 4 kB / 282.9 MB, free: 6.535 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008289/0.02871, allocations: 453.6 kB / 283.3 MB, free: 6.07 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001173/0.02883, allocations: 39.83 kB / 283.4 MB, free: 6.031 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.94e-05/0.02887, allocations: 8 kB / 283.4 MB, free: 6.023 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002055/0.02907, allocations: 20.11 kB / 283.4 MB, free: 6.004 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/0.02919, allocations: 31.94 kB / 283.4 MB, free: 5.973 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.315e-05/0.02922, allocations: 11.94 kB / 283.4 MB, free: 5.961 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000205/0.02942, allocations: 169.2 kB / 283.6 MB, free: 5.797 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.02942, allocations: 0 / 283.6 MB, free: 5.797 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005253/0.02995, allocations: 99.78 kB / 283.7 MB, free: 5.699 MB / 266.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.0001668/0.03011, allocations: 103.2 kB / 283.8 MB, free: 5.59 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00078/0.03089, allocations: 353.9 kB / 284.2 MB, free: 5.234 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.0309, allocations: 0 / 284.2 MB, free: 5.234 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004489/0.03135, allocations: 250.3 kB / 284.4 MB, free: 4.977 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004535/0.0318, allocations: 68.91 kB / 284.5 MB, free: 4.906 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00153/0.03333, allocations: 0.5601 MB / 285 MB, free: 4.32 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000192/0.03352, allocations: 158.8 kB / 285.2 MB, free: 4.145 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.036e-05/0.03361, allocations: 22.28 kB / 285.2 MB, free: 4.125 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.519e-05/0.03368, allocations: 20.5 kB / 285.2 MB, free: 4.105 MB / 266.7 MB Notification: Performance of SimCode: time 8.12e-07/0.03368, allocations: 0 / 285.2 MB, free: 4.105 MB / 266.7 MB Notification: Performance of Templates: time 0.1107/0.1444, allocations: 4.541 MB / 289.8 MB, free: 32.39 MB / 266.7 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.3984554529888555]