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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|idealTriac.capacitor.v|idealTriac.idealThyristor.off|idealTriac.idealThyristor1.off",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001125/0.001125, allocations: 115.6 kB / 18.46 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001207/0.001207, allocations: 204 kB / 19.42 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.34/1.34, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001128/0.001128, allocations: 71.88 kB / 359.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2221/0.2232, allocations: 50.54 MB / 409.9 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.IdealTriacCircuit): time 0.003802/0.2271, allocations: 2.936 MB / 412.9 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00124/0.2283, allocations: 0.7907 MB / 413.7 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001232/0.2285, allocations: 11.94 kB / 413.7 MB, free: 13.79 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001529/0.2287, allocations: 59.44 kB / 413.7 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000177/0.2288, allocations: 99.12 kB / 413.8 MB, free: 13.63 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000326/0.2292, allocations: 115.8 kB / 414 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003931/0.2296, allocations: 402.3 kB / 414.3 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002413/0.2298, allocations: 135.2 kB / 414.5 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002305/0.2301, allocations: 163.4 kB / 414.6 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002072/0.2303, allocations: 159.3 kB / 414.8 MB, free: 12.67 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.249e-05/0.2304, allocations: 43.94 kB / 414.8 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000112/0.2305, allocations: 43.98 kB / 414.9 MB, free: 12.58 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.769e-05/0.2306, allocations: 75.75 kB / 415 MB, free: 12.51 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001693/0.2307, allocations: 179.2 kB / 415.1 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00045/0.2312, allocations: 430.2 kB / 415.5 MB, free: 11.91 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.2312, allocations: 3.938 kB / 415.6 MB, free: 11.91 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.2312, allocations: 0 / 415.6 MB, free: 11.91 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.2312, allocations: 0 / 415.6 MB, free: 11.91 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.0009994/0.2322, allocations: 0.6398 MB / 416.2 MB, free: 11.22 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.2323, allocations: 8.031 kB / 416.2 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001726/0.2324, allocations: 48.69 kB / 416.2 MB, free: 11.17 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003611/0.2328, allocations: 281 kB / 416.5 MB, free: 10.85 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.2328, allocations: 24.88 kB / 416.5 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.195e-05/0.2329, allocations: 28.38 kB / 416.6 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004956/0.2334, allocations: 296.8 kB / 416.9 MB, free: 10.49 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.2334, allocations: 0 / 416.9 MB, free: 10.49 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.979e-05/0.2335, allocations: 12 kB / 416.9 MB, free: 10.48 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.2335, allocations: 8 kB / 416.9 MB, free: 10.47 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003971/0.2339, allocations: 202.1 kB / 417.1 MB, free: 10.28 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001634/0.2355, allocations: 1.145 MB / 418.2 MB, free: 9.055 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004921/0.236, allocations: 210.6 kB / 418.4 MB, free: 8.84 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002976/0.2363, allocations: 144.8 kB / 418.6 MB, free: 8.695 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.91e-05/0.2364, allocations: 7.984 kB / 418.6 MB, free: 8.688 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002769/0.2367, allocations: 163.8 kB / 418.7 MB, free: 8.504 MB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 3.787e-06/0.2367, allocations: 3.984 kB / 418.7 MB, free: 8.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=22): time 0.001443/0.2381, allocations: 0.5221 MB / 419.3 MB, free: 7.953 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.081e-05/0.2382, allocations: 132.5 kB / 419.4 MB, free: 7.793 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002639/0.2385, allocations: 253 kB / 419.6 MB, free: 7.539 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.872e-05/0.2385, allocations: 29.7 kB / 419.7 MB, free: 7.504 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.2386, allocations: 172.7 kB / 419.8 MB, free: 7.332 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.541e-05/0.2387, allocations: 63.44 kB / 419.9 MB, free: 7.27 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.251e-05/0.2388, allocations: 57.66 kB / 420 MB, free: 7.207 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.239, allocations: 330.8 kB / 420.3 MB, free: 6.875 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001693/0.2391, allocations: 71.97 kB / 420.4 MB, free: 6.805 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001903/0.2393, allocations: 129.1 kB / 420.5 MB, free: 6.66 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003077/0.2396, allocations: 167.2 kB / 420.6 MB, free: 6.484 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.2397, allocations: 0 / 420.6 MB, free: 6.484 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005202/0.2402, allocations: 306.1 kB / 420.9 MB, free: 6.176 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.2402, allocations: 4 kB / 420.9 MB, free: 6.172 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.2402, allocations: 7.938 kB / 421 MB, free: 6.164 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003327/0.2406, allocations: 80.81 kB / 421 MB, free: 6.082 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.2407, allocations: 27.98 kB / 421.1 MB, free: 6.055 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002298/0.243, allocations: 2.147 MB / 423.2 MB, free: 3.762 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002113/0.2432, allocations: 31.86 kB / 423.2 MB, free: 3.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.945e-05/0.2433, allocations: 8 kB / 423.2 MB, free: 3.723 MB / 334.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.0001638/0.2434, allocations: 161.9 kB / 423.4 MB, free: 3.555 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.344e-05/0.2435, allocations: 31.73 kB / 423.4 MB, free: 3.523 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.883e-05/0.2436, allocations: 26.19 kB / 423.5 MB, free: 3.5 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.2436, allocations: 7.984 kB / 423.5 MB, free: 3.492 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2436, allocations: 0 / 423.5 MB, free: 3.492 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.2437, allocations: 116.9 kB / 423.6 MB, free: 3.359 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.029e-05/0.2437, allocations: 12 kB / 423.6 MB, free: 3.348 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001719/0.2439, allocations: 11.98 kB / 423.6 MB, free: 3.336 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.21e-05/0.244, allocations: 23.97 kB / 423.6 MB, free: 3.312 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008182/0.2448, allocations: 456.7 kB / 424.1 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006132/0.2455, allocations: 0.5438 MB / 424.6 MB, free: 2.297 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001529/0.2456, allocations: 75.97 kB / 424.7 MB, free: 2.223 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001579/0.2458, allocations: 172.5 kB / 424.9 MB, free: 2.059 MB / 334.1 MB Notification: Performance of Backend: time 4.9e-07/0.2458, allocations: 4.031 kB / 424.9 MB, free: 2.055 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009418/0.2467, allocations: 380.8 kB / 425.2 MB, free: 1.66 MB / 334.1 MB Notification: Performance of SimCode: time 0.00115/0.2479, allocations: 1.086 MB / 426.3 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of Templates: time 0.008958/0.2569, allocations: 4.729 MB / 431.1 MB, free: 11.86 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/IdealTriacCircuit/IdealTriacCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches