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.001927/0.001927, allocations: 81.83 kB / 21.99 MB, free: 4.75 MB / 14.72 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.002308/0.002308, allocations: 157.8 kB / 25.24 MB, free: 2.742 MB / 14.72 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 1.362/1.362, allocations: 158.6 MB / 187 MB, free: 6.348 MB / 174.1 MB " [Timeout remaining time 178] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 59.92 kB / 299.4 MB, free: 6.871 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2308/0.2328, allocations: 49.14 MB / 348.5 MB, free: 15.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.IdealTriacCircuit): time 0.004264/0.2371, allocations: 2.674 MB / 351.2 MB, free: 12.84 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001315/0.2384, allocations: 0.7406 MB / 351.9 MB, free: 12.09 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001398/0.2385, allocations: 11.94 kB / 351.9 MB, free: 12.08 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001752/0.2387, allocations: 51.5 kB / 352 MB, free: 12.03 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001958/0.2389, allocations: 103.1 kB / 352.1 MB, free: 11.93 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003158/0.2392, allocations: 103.8 kB / 352.2 MB, free: 11.82 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004846/0.2397, allocations: 414.1 kB / 352.6 MB, free: 11.42 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002363/0.2399, allocations: 95.66 kB / 352.7 MB, free: 11.32 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002094/0.2401, allocations: 151.5 kB / 352.8 MB, free: 11.17 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002372/0.2404, allocations: 147.2 kB / 353 MB, free: 11.02 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.33e-05/0.2404, allocations: 44 kB / 353 MB, free: 10.98 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.483e-05/0.2405, allocations: 36 kB / 353 MB, free: 10.95 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.859e-05/0.2406, allocations: 71.77 kB / 353.1 MB, free: 10.88 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001679/0.2408, allocations: 143.4 kB / 353.3 MB, free: 10.73 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004776/0.2412, allocations: 436.8 kB / 353.7 MB, free: 10.31 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.2412, allocations: 0 / 353.7 MB, free: 10.31 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2412, allocations: 0 / 353.7 MB, free: 10.31 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.2412, allocations: 0 / 353.7 MB, free: 10.31 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.001122/0.2424, allocations: 0.5567 MB / 354.2 MB, free: 9.727 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.2424, allocations: 11.98 kB / 354.3 MB, free: 9.715 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.353e-05/0.2425, allocations: 40.7 kB / 354.3 MB, free: 9.676 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004908/0.243, allocations: 229.9 kB / 354.5 MB, free: 9.426 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.799e-05/0.243, allocations: 24.81 kB / 354.5 MB, free: 9.402 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.894e-05/0.2431, allocations: 24.38 kB / 354.6 MB, free: 9.379 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000782/0.2438, allocations: 347.3 kB / 354.9 MB, free: 9.012 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.2439, allocations: 3.984 kB / 354.9 MB, free: 9.008 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.414e-05/0.2439, allocations: 12 kB / 354.9 MB, free: 8.996 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/0.2439, allocations: 4 kB / 354.9 MB, free: 8.992 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004614/0.2444, allocations: 205.8 kB / 355.1 MB, free: 8.789 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001899/0.2463, allocations: 0.9819 MB / 356.1 MB, free: 7.75 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005645/0.2468, allocations: 194.6 kB / 356.3 MB, free: 7.551 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003175/0.2472, allocations: 120.8 kB / 356.4 MB, free: 7.43 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.2472, allocations: 4 kB / 356.4 MB, free: 7.426 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003391/0.2475, allocations: 226 kB / 356.6 MB, free: 7.168 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 1.573e-06/0.2475, allocations: 0 / 356.6 MB, free: 7.168 MB / 318.1 MB Notification: Performance of matching and sorting (n=22): time 0.00149/0.249, allocations: 449.9 kB / 357.1 MB, free: 6.719 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.902e-05/0.2491, allocations: 132.5 kB / 357.2 MB, free: 6.559 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002757/0.2494, allocations: 229.8 kB / 357.4 MB, free: 6.328 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.386e-05/0.2494, allocations: 29.7 kB / 357.5 MB, free: 6.293 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001478/0.2496, allocations: 172.6 kB / 357.6 MB, free: 6.121 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.237e-05/0.2496, allocations: 71.42 kB / 357.7 MB, free: 6.051 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.2497, allocations: 53.66 kB / 357.8 MB, free: 5.992 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001712/0.2499, allocations: 330.8 kB / 358.1 MB, free: 5.66 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001644/0.2501, allocations: 71.97 kB / 358.1 MB, free: 5.59 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002455/0.2503, allocations: 172.5 kB / 358.3 MB, free: 5.391 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003366/0.2507, allocations: 171.3 kB / 358.5 MB, free: 5.211 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.2507, allocations: 0 / 358.5 MB, free: 5.211 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005506/0.2512, allocations: 290.1 kB / 358.8 MB, free: 4.918 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/0.2512, allocations: 7.938 kB / 358.8 MB, free: 4.91 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.2512, allocations: 4 kB / 358.8 MB, free: 4.906 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000399/0.2516, allocations: 92.91 kB / 358.9 MB, free: 4.812 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001494/0.2518, allocations: 31.98 kB / 358.9 MB, free: 4.781 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002558/0.2544, allocations: 1.993 MB / 360.9 MB, free: 2.684 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002206/0.2546, allocations: 27.91 kB / 360.9 MB, free: 2.656 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.816e-05/0.2546, allocations: 8.109 kB / 360.9 MB, free: 2.648 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.0001775/0.2548, allocations: 149.8 kB / 361.1 MB, free: 2.492 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.548e-05/0.2548, allocations: 27.86 kB / 361.1 MB, free: 2.465 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.695e-05/0.2549, allocations: 30.27 kB / 361.1 MB, free: 2.438 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.2549, allocations: 7.938 kB / 361.1 MB, free: 2.43 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.2549, allocations: 4.062 kB / 361.1 MB, free: 2.426 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.2549, allocations: 3.984 kB / 361.1 MB, free: 2.422 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009578/0.2558, allocations: 0.6515 MB / 361.8 MB, free: 1.727 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.2558, allocations: 3.938 kB / 361.8 MB, free: 1.723 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001201/0.256, allocations: 23.98 kB / 361.8 MB, free: 1.699 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002735/0.2562, allocations: 92.73 kB / 361.9 MB, free: 1.605 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.644e-05/0.2563, allocations: 0 / 361.9 MB, free: 1.605 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002311/0.2586, allocations: 1.997 MB / 363.9 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.2586, allocations: 7.969 kB / 363.9 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00071/0.2593, allocations: 450.5 kB / 364.4 MB, free: 15.04 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.2594, allocations: 47.92 kB / 364.4 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.192e-05/0.2594, allocations: 4 kB / 364.4 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002134/0.2596, allocations: 23.92 kB / 364.4 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.2597, allocations: 39.88 kB / 364.5 MB, free: 14.92 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.722e-05/0.2598, allocations: 4 kB / 364.5 MB, free: 14.92 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001763/0.2599, allocations: 169.2 kB / 364.6 MB, free: 14.75 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2599, allocations: 0 / 364.6 MB, free: 14.75 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004801/0.2604, allocations: 91.89 kB / 364.7 MB, free: 14.66 MB / 334.1 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.0001364/0.2606, allocations: 103.2 kB / 364.8 MB, free: 14.55 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007125/0.2613, allocations: 350.5 kB / 365.2 MB, free: 14.2 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2613, allocations: 0 / 365.2 MB, free: 14.2 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004185/0.2617, allocations: 258.7 kB / 365.4 MB, free: 13.93 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004259/0.2621, allocations: 52.73 kB / 365.5 MB, free: 13.88 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001242/0.2634, allocations: 0.5983 MB / 366.1 MB, free: 13.25 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001685/0.2635, allocations: 154.9 kB / 366.2 MB, free: 13.08 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.994e-05/0.2636, allocations: 26.28 kB / 366.3 MB, free: 13.05 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.745e-05/0.2637, allocations: 20.5 kB / 366.3 MB, free: 13.04 MB / 334.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2637, allocations: 0 / 366.3 MB, free: 13.04 MB / 334.1 MB Notification: Performance of Templates: time 0.009665/0.2733, allocations: 4.561 MB / 370.8 MB, free: 8.469 MB / 334.1 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=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe 2>&1) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.490887676016428]