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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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=5000,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=5000,variableFilter="time|idealTriac.capacitor.v|idealTriac.idealThyristor.off|idealTriac.idealThyristor1.off",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 112.3 kB / 18.41 MB, free: 4.543 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 186.2 kB / 19.34 MB, free: 3.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.253/1.253, allocations: 205.1 MB / 225.2 MB, free: 12.27 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001138, allocations: 51.94 kB / 329.2 MB, free: 3.34 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06882/0.06997, allocations: 46.61 MB / 375.8 MB, free: 4.621 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.IdealTriacCircuit): time 0.003544/0.07354, allocations: 2.893 MB / 378.7 MB, free: 1.711 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001252/0.07481, allocations: 0.7718 MB / 379.5 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001627/0.07499, allocations: 7.938 kB / 379.5 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000157/0.07517, allocations: 51.5 kB / 379.5 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001988/0.07537, allocations: 99.11 kB / 379.6 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002789/0.07566, allocations: 103.8 kB / 379.7 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003683/0.07604, allocations: 414.2 kB / 380.1 MB, free: 272 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002115/0.07626, allocations: 123.2 kB / 380.3 MB, free: 144 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.143/0.2193, allocations: 152.3 kB / 380.4 MB, free: 9.84 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002983/0.2196, allocations: 161.8 kB / 380.6 MB, free: 9.84 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.813e-05/0.2197, allocations: 37.31 kB / 380.6 MB, free: 9.84 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.839e-05/0.2198, allocations: 36.25 kB / 380.6 MB, free: 9.84 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.981e-05/0.2199, allocations: 81.44 kB / 380.7 MB, free: 9.832 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001813/0.2201, allocations: 174 kB / 380.9 MB, free: 9.785 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004481/0.2206, allocations: 429.6 kB / 381.3 MB, free: 9.742 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.2206, allocations: 0.6562 kB / 381.3 MB, free: 9.742 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2206, allocations: 2.75 kB / 381.3 MB, free: 9.742 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.152e-05/0.2206, allocations: 0 / 381.3 MB, free: 9.742 MB / 318.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.00104/0.2216, allocations: 0.6287 MB / 381.9 MB, free: 9.289 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.2217, allocations: 12.12 kB / 382 MB, free: 9.289 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.449e-05/0.2218, allocations: 35 kB / 382 MB, free: 9.273 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003877/0.2222, allocations: 286.5 kB / 382.3 MB, free: 9.043 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.969e-05/0.2222, allocations: 17.91 kB / 382.3 MB, free: 9.043 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.58e-05/0.2223, allocations: 24.94 kB / 382.3 MB, free: 9.043 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005097/0.2228, allocations: 290.3 kB / 382.6 MB, free: 8.984 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.2228, allocations: 3.938 kB / 382.6 MB, free: 8.98 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.139e-05/0.2228, allocations: 13.25 kB / 382.6 MB, free: 8.98 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.2228, allocations: 6.875 kB / 382.6 MB, free: 8.98 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004147/0.2233, allocations: 200.6 kB / 382.8 MB, free: 8.98 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001705/0.225, allocations: 1.145 MB / 384 MB, free: 8.41 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000487/0.2255, allocations: 221.7 kB / 384.2 MB, free: 8.383 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002774/0.2258, allocations: 138 kB / 384.3 MB, free: 8.375 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.2258, allocations: 10.7 kB / 384.3 MB, free: 8.371 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002546/0.2261, allocations: 167.1 kB / 384.5 MB, free: 8.289 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 1.663e-06/0.2261, allocations: 0.6562 kB / 384.5 MB, free: 8.289 MB / 318.1 MB Notification: Performance of matching and sorting (n=22): time 0.001353/0.2274, allocations: 0.511 MB / 385 MB, free: 8.129 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/0.2275, allocations: 135.8 kB / 385.1 MB, free: 7.973 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002195/0.2277, allocations: 249.3 kB / 385.4 MB, free: 7.863 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.326e-05/0.2277, allocations: 31.59 kB / 385.4 MB, free: 7.832 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.676e-05/0.2278, allocations: 164.4 kB / 385.6 MB, free: 7.719 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.616e-05/0.2279, allocations: 72.61 kB / 385.6 MB, free: 7.676 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.946e-05/0.228, allocations: 49.27 kB / 385.7 MB, free: 7.656 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.962e-05/0.228, allocations: 334.5 kB / 386 MB, free: 7.344 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001479/0.2282, allocations: 71.39 kB / 386.1 MB, free: 7.344 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001658/0.2283, allocations: 122.5 kB / 386.2 MB, free: 7.281 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002736/0.2286, allocations: 167.8 kB / 386.4 MB, free: 7.188 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.2286, allocations: 1.562 kB / 386.4 MB, free: 7.188 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004644/0.2291, allocations: 296 kB / 386.7 MB, free: 7.043 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.2291, allocations: 11.73 kB / 386.7 MB, free: 7.039 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.2291, allocations: 2.75 kB / 386.7 MB, free: 7.039 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003142/0.2295, allocations: 89.02 kB / 386.8 MB, free: 7.008 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/0.2296, allocations: 33.72 kB / 386.8 MB, free: 7.004 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001829/0.2314, allocations: 2.141 MB / 388.9 MB, free: 5.156 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002166/0.2317, allocations: 28.09 kB / 389 MB, free: 5.145 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.2317, allocations: 7.391 kB / 389 MB, free: 5.145 MB / 318.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.0001202/0.2318, allocations: 161.2 kB / 389.1 MB, free: 4.996 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.072e-05/0.2319, allocations: 24.8 kB / 389.1 MB, free: 4.984 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.272e-05/0.2319, allocations: 34.78 kB / 389.2 MB, free: 4.957 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.2319, allocations: 2.5 kB / 389.2 MB, free: 4.957 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.232, allocations: 0 / 389.2 MB, free: 4.957 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.527e-05/0.2321, allocations: 118.3 kB / 389.3 MB, free: 4.84 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.35e-05/0.2321, allocations: 7.391 kB / 389.3 MB, free: 4.836 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001778/0.2323, allocations: 14.14 kB / 389.3 MB, free: 4.836 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.73e-05/0.2324, allocations: 24.94 kB / 389.3 MB, free: 4.828 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007746/0.2331, allocations: 455.1 kB / 389.8 MB, free: 4.555 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005275/0.2337, allocations: 0.5446 MB / 390.3 MB, free: 4.16 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001536/0.2339, allocations: 76.91 kB / 390.4 MB, free: 4.133 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001399/0.234, allocations: 177.5 kB / 390.6 MB, free: 4.02 MB / 318.1 MB Notification: Performance of Backend: time 4.11e-07/0.234, allocations: 4.031 kB / 390.6 MB, free: 4.016 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008401/0.2349, allocations: 370.3 kB / 390.9 MB, free: 3.77 MB / 318.1 MB Notification: Performance of SimCode: time 0.0009771/0.2358, allocations: 1.076 MB / 392 MB, free: 2.93 MB / 318.1 MB Notification: Performance of Templates: time 0.009241/0.2451, allocations: 4.691 MB / 396.7 MB, free: 2.57 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.makefile (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) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/IdealTriacCircuit/IdealTriacCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches