Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.00126/0.00126, allocations: 112.3 kB / 21.18 MB, free: 0.6289 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.00142/0.00142, allocations: 211 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.42/1.42, allocations: 230.4 MB / 258.1 MB, free: 8.164 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Electrical.Analog.Examples.IdealTriacCircuit") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 71.83 kB / 378.7 MB, free: 2.918 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2185/0.2204, allocations: 53.32 MB / 432.1 MB, free: 7.426 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.IdealTriacCircuit): time 0.004379/0.2248, allocations: 2.967 MB / 435 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001349/0.2261, allocations: 0.7985 MB / 435.8 MB, free: 3.645 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001301/0.2263, allocations: 8 kB / 435.8 MB, free: 3.637 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001552/0.2264, allocations: 51.5 kB / 435.9 MB, free: 3.586 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001974/0.2266, allocations: 103 kB / 436 MB, free: 3.484 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003159/0.2269, allocations: 111.8 kB / 436.1 MB, free: 3.375 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004598/0.2274, allocations: 414.3 kB / 436.5 MB, free: 2.969 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002054/0.2276, allocations: 97.17 kB / 436.6 MB, free: 2.871 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002457/0.2278, allocations: 159.4 kB / 436.8 MB, free: 2.715 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002382/0.2281, allocations: 159.3 kB / 436.9 MB, free: 2.559 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.552e-05/0.2281, allocations: 40 kB / 436.9 MB, free: 2.52 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.142e-05/0.2282, allocations: 36 kB / 437 MB, free: 2.484 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.802e-05/0.2283, allocations: 83.67 kB / 437.1 MB, free: 2.402 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001726/0.2285, allocations: 183.1 kB / 437.2 MB, free: 2.223 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000493/0.229, allocations: 434.4 kB / 437.7 MB, free: 1.797 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.229, allocations: 0 / 437.7 MB, free: 1.797 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.229, allocations: 0 / 437.7 MB, free: 1.797 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.229, allocations: 4 kB / 437.7 MB, free: 1.793 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.001096/0.2301, allocations: 0.6282 MB / 438.3 MB, free: 1.117 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.2301, allocations: 8.031 kB / 438.3 MB, free: 1.109 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001795/0.2303, allocations: 48.7 kB / 438.4 MB, free: 1.062 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004032/0.2307, allocations: 292.8 kB / 438.6 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.39e-05/0.2307, allocations: 16.94 kB / 438.7 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.803e-05/0.2308, allocations: 32.3 kB / 438.7 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000516/0.2313, allocations: 292.9 kB / 439 MB, free: 396 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.2313, allocations: 4 kB / 439 MB, free: 392 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.069e-05/0.2313, allocations: 12 kB / 439 MB, free: 380 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.2313, allocations: 4 kB / 439 MB, free: 376 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004177/0.2317, allocations: 202.1 kB / 439.2 MB, free: 176 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001822/0.2336, allocations: 1.148 MB / 440.3 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005151/0.2341, allocations: 202.6 kB / 440.5 MB, free: 14.74 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003001/0.2344, allocations: 124.8 kB / 440.7 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.745e-05/0.2344, allocations: 0 / 440.7 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002889/0.2347, allocations: 166.7 kB / 440.8 MB, free: 14.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.373e-06/0.2347, allocations: 4 kB / 440.8 MB, free: 14.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001465/0.2362, allocations: 0.5137 MB / 441.3 MB, free: 13.88 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.524e-05/0.2362, allocations: 132.5 kB / 441.5 MB, free: 13.72 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002785/0.2365, allocations: 245 kB / 441.7 MB, free: 13.47 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.004e-05/0.2365, allocations: 29.7 kB / 441.7 MB, free: 13.44 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/0.2367, allocations: 176.6 kB / 441.9 MB, free: 13.26 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.526e-05/0.2367, allocations: 71.42 kB / 442 MB, free: 13.19 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.97e-05/0.2368, allocations: 49.66 kB / 442 MB, free: 13.14 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001749/0.237, allocations: 338.8 kB / 442.4 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001624/0.2372, allocations: 71.97 kB / 442.4 MB, free: 12.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002215/0.2374, allocations: 129.6 kB / 442.6 MB, free: 12.58 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003423/0.2377, allocations: 176 kB / 442.7 MB, free: 12.4 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2377, allocations: 0 / 442.7 MB, free: 12.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005309/0.2383, allocations: 286.1 kB / 443 MB, free: 12.11 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.2383, allocations: 6.812 kB / 443 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.2383, allocations: 4 kB / 443 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000336/0.2386, allocations: 96.78 kB / 443.1 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001447/0.2388, allocations: 32.02 kB / 443.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002499/0.2413, allocations: 2.135 MB / 445.3 MB, free: 9.699 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002095/0.2415, allocations: 31.86 kB / 445.3 MB, free: 9.668 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.75e-05/0.2415, allocations: 8 kB / 445.3 MB, free: 9.66 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.0001672/0.2417, allocations: 153.8 kB / 445.5 MB, free: 9.5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.773e-05/0.2417, allocations: 27.91 kB / 445.5 MB, free: 9.473 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.918e-05/0.2418, allocations: 42.11 kB / 445.5 MB, free: 9.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.2418, allocations: 0 / 445.5 MB, free: 9.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.2418, allocations: 0 / 445.5 MB, free: 9.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001381/0.2419, allocations: 124.9 kB / 445.7 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.904e-05/0.242, allocations: 4 kB / 445.7 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001809/0.2421, allocations: 19.98 kB / 445.7 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.826e-05/0.2422, allocations: 23.97 kB / 445.7 MB, free: 9.242 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000883/0.2431, allocations: 452.7 kB / 446.1 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006782/0.2438, allocations: 0.5358 MB / 446.7 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000171/0.2439, allocations: 76 kB / 446.8 MB, free: 8.164 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001734/0.2441, allocations: 184.5 kB / 446.9 MB, free: 7.988 MB / 350.1 MB Notification: Performance of Backend: time 3.51e-07/0.2441, allocations: 0 / 446.9 MB, free: 7.988 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009906/0.2451, allocations: 364.8 kB / 447.3 MB, free: 7.613 MB / 350.1 MB Notification: Performance of SimCode: time 0.001438/0.2465, allocations: 1.101 MB / 448.4 MB, free: 6.461 MB / 350.1 MB Notification: Performance of Templates: time 0.009999/0.2565, allocations: 4.85 MB / 453.2 MB, free: 1.684 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.IdealTriacCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.IdealTriacCircuit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/IdealTriacCircuit/IdealTriacCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.301261294167489]