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.001453/0.001453, allocations: 102.7 kB / 21.93 MB, free: 5.203 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.001569/0.001569, allocations: 203.2 kB / 25.22 MB, free: 3.141 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.434/1.434, allocations: 207.7 MB / 236.1 MB, free: 9.781 MB / 190.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.001839/0.001839, allocations: 58.59 kB / 348.4 MB, free: 9.379 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2633/0.2652, allocations: 49.15 MB / 397.6 MB, free: 9.395 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.IdealTriacCircuit): time 0.003484/0.2687, allocations: 2.681 MB / 400.3 MB, free: 7.586 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001119/0.2698, allocations: 0.7383 MB / 401 MB, free: 7.07 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001298/0.2699, allocations: 4.281 kB / 401 MB, free: 7.07 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001466/0.27, allocations: 50.89 kB / 401.1 MB, free: 7.039 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001712/0.2702, allocations: 109.1 kB / 401.2 MB, free: 6.957 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000263/0.2705, allocations: 103.3 kB / 401.3 MB, free: 6.895 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000351/0.2708, allocations: 411.1 kB / 401.7 MB, free: 6.68 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001866/0.271, allocations: 90.05 kB / 401.8 MB, free: 6.625 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000194/0.2712, allocations: 163 kB / 401.9 MB, free: 6.543 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001944/0.2714, allocations: 140.4 kB / 402.1 MB, free: 6.48 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.668e-05/0.2715, allocations: 36.28 kB / 402.1 MB, free: 6.48 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.468e-05/0.2715, allocations: 37.31 kB / 402.1 MB, free: 6.48 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.224e-05/0.2716, allocations: 80.86 kB / 402.2 MB, free: 6.422 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001333/0.2717, allocations: 145 kB / 402.4 MB, free: 6.344 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004233/0.2721, allocations: 437.9 kB / 402.8 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/0.2722, allocations: 1.188 kB / 402.8 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.2722, allocations: 0 / 402.8 MB, free: 6.176 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.655e-06/0.2722, allocations: 0 / 402.8 MB, free: 6.176 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.0008848/0.273, allocations: 0.5486 MB / 403.3 MB, free: 5.754 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.2731, allocations: 13.14 kB / 403.4 MB, free: 5.75 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.113e-05/0.2731, allocations: 38.45 kB / 403.4 MB, free: 5.73 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003199/0.2735, allocations: 232.3 kB / 403.6 MB, free: 5.527 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.2735, allocations: 19.19 kB / 403.6 MB, free: 5.52 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.436e-05/0.2735, allocations: 25.47 kB / 403.7 MB, free: 5.512 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004614/0.274, allocations: 347.4 kB / 404 MB, free: 5.293 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.274, allocations: 0 / 404 MB, free: 5.293 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.704e-05/0.274, allocations: 15.19 kB / 404 MB, free: 5.281 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.274, allocations: 9.531 kB / 404 MB, free: 5.277 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003682/0.2744, allocations: 202 kB / 404.2 MB, free: 5.207 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001383/0.2758, allocations: 0.9869 MB / 405.2 MB, free: 4.477 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004691/0.2763, allocations: 199.2 kB / 405.4 MB, free: 4.375 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002704/0.2765, allocations: 122.5 kB / 405.5 MB, free: 4.328 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.2766, allocations: 3.375 kB / 405.5 MB, free: 4.328 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002533/0.2768, allocations: 218.8 kB / 405.7 MB, free: 4.148 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 1.733e-06/0.2768, allocations: 7.938 kB / 405.7 MB, free: 4.141 MB / 318.1 MB Notification: Performance of matching and sorting (n=22): time 0.001293/0.2781, allocations: 435.7 kB / 406.2 MB, free: 3.98 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/0.2781, allocations: 136 kB / 406.3 MB, free: 3.82 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002047/0.2783, allocations: 232.4 kB / 406.5 MB, free: 3.676 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.2784, allocations: 33.2 kB / 406.6 MB, free: 3.641 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.814e-05/0.2784, allocations: 173.7 kB / 406.7 MB, free: 3.492 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.674e-05/0.2785, allocations: 75.62 kB / 406.8 MB, free: 3.434 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.52e-05/0.2786, allocations: 51.62 kB / 406.9 MB, free: 3.398 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5e-05/0.2786, allocations: 330.9 kB / 407.2 MB, free: 3.078 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/0.2788, allocations: 71.34 kB / 407.2 MB, free: 3.051 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001726/0.2789, allocations: 171.5 kB / 407.4 MB, free: 2.91 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002615/0.2792, allocations: 176.1 kB / 407.6 MB, free: 2.805 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.2792, allocations: 1.5 kB / 407.6 MB, free: 2.805 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004613/0.2797, allocations: 277.9 kB / 407.9 MB, free: 2.668 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.2797, allocations: 9.641 kB / 407.9 MB, free: 2.664 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.2797, allocations: 1.344 kB / 407.9 MB, free: 2.664 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003503/0.28, allocations: 95.86 kB / 408 MB, free: 2.625 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001347/0.2802, allocations: 28.89 kB / 408 MB, free: 2.621 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001755/0.2819, allocations: 1.991 MB / 410 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002095/0.2821, allocations: 33.2 kB / 410 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.734e-05/0.2821, allocations: 9.5 kB / 410 MB, free: 0.9062 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.0001228/0.2823, allocations: 148.2 kB / 410.2 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.654e-05/0.2823, allocations: 22.86 kB / 410.2 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.237e-05/0.2824, allocations: 30.27 kB / 410.2 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.2824, allocations: 6.688 kB / 410.2 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.2824, allocations: 2.172 kB / 410.2 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.2824, allocations: 0.6562 kB / 410.2 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007524/0.2831, allocations: 0.6671 MB / 410.9 MB, free: 252 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.2831, allocations: 0 / 410.9 MB, free: 252 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/0.2832, allocations: 22.69 kB / 410.9 MB, free: 248 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002381/0.2835, allocations: 93.34 kB / 411 MB, free: 208 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.827e-05/0.2835, allocations: 6.203 kB / 411 MB, free: 204 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002282/0.2858, allocations: 1.988 MB / 413 MB, free: 14.51 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.2858, allocations: 4.547 kB / 413 MB, free: 14.5 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007219/0.2865, allocations: 450.4 kB / 413.5 MB, free: 14.22 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/0.2866, allocations: 45.09 kB / 413.5 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.024e-05/0.2866, allocations: 6.969 kB / 413.5 MB, free: 14.19 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002057/0.2869, allocations: 18.48 kB / 413.5 MB, free: 14.19 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.287, allocations: 40.22 kB / 413.6 MB, free: 14.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-05/0.287, allocations: 8.953 kB / 413.6 MB, free: 14.17 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001823/0.2872, allocations: 163.8 kB / 413.7 MB, free: 14.07 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2872, allocations: 3.938 kB / 413.7 MB, free: 14.06 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004869/0.2876, allocations: 93.72 kB / 413.8 MB, free: 14.04 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.0001382/0.2878, allocations: 106.2 kB / 413.9 MB, free: 13.95 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007008/0.2885, allocations: 349.5 kB / 414.3 MB, free: 13.74 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.2885, allocations: 1.188 kB / 414.3 MB, free: 13.74 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004179/0.2889, allocations: 256 kB / 414.5 MB, free: 13.57 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004053/0.2893, allocations: 54.39 kB / 414.6 MB, free: 13.55 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/0.2906, allocations: 0.6249 MB / 415.2 MB, free: 13.14 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001721/0.2907, allocations: 155.4 kB / 415.3 MB, free: 13.05 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.993e-05/0.2908, allocations: 23.05 kB / 415.4 MB, free: 13.04 MB / 334.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2908, allocations: 0 / 415.4 MB, free: 13.04 MB / 334.1 MB Notification: Performance of Templates: time 0.007519/0.2983, allocations: 4.69 MB / 420.1 MB, free: 10.64 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 -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: 7.615699137095362]