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.001321/0.001321, allocations: 113 kB / 21.18 MB, free: 0.5898 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.001436/0.001436, allocations: 209.7 kB / 24.47 MB, free: 3.996 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.133 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.002189/0.002189, allocations: 63.91 kB / 378.7 MB, free: 2.883 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2644/0.2666, allocations: 53.31 MB / 432.1 MB, free: 7.363 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.IdealTriacCircuit): time 0.004723/0.2713, allocations: 2.979 MB / 435 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001639/0.273, allocations: 0.8063 MB / 435.8 MB, free: 3.562 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001696/0.2731, allocations: 7.938 kB / 435.8 MB, free: 3.555 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001916/0.2733, allocations: 47.5 kB / 435.9 MB, free: 3.508 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000202/0.2735, allocations: 99.12 kB / 436 MB, free: 3.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003823/0.2739, allocations: 123.7 kB / 436.1 MB, free: 3.289 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004775/0.2744, allocations: 402.3 kB / 436.5 MB, free: 2.895 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002306/0.2746, allocations: 93.25 kB / 436.6 MB, free: 2.801 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002722/0.2749, allocations: 159.4 kB / 436.7 MB, free: 2.645 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002624/0.2752, allocations: 163.3 kB / 436.9 MB, free: 2.484 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.864e-05/0.2752, allocations: 40 kB / 436.9 MB, free: 2.445 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.872e-05/0.2753, allocations: 36 kB / 437 MB, free: 2.41 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.304e-05/0.2754, allocations: 79.7 kB / 437.1 MB, free: 2.332 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001839/0.2756, allocations: 179.2 kB / 437.2 MB, free: 2.156 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005444/0.2761, allocations: 434.4 kB / 437.7 MB, free: 1.73 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.2761, allocations: 7.938 kB / 437.7 MB, free: 1.723 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2761, allocations: 0 / 437.7 MB, free: 1.723 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.214e-06/0.2761, allocations: 0 / 437.7 MB, free: 1.723 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.001185/0.2773, allocations: 0.6359 MB / 438.3 MB, free: 1.039 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.2774, allocations: 8.031 kB / 438.3 MB, free: 1.031 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002229/0.2776, allocations: 48.69 kB / 438.4 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004874/0.2781, allocations: 288.9 kB / 438.6 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.169e-05/0.2781, allocations: 20.94 kB / 438.7 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.938e-05/0.2782, allocations: 24.38 kB / 438.7 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005623/0.2787, allocations: 296.8 kB / 439 MB, free: 320 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.2787, allocations: 0 / 439 MB, free: 320 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.333e-05/0.2788, allocations: 12 kB / 439 MB, free: 308 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.2788, allocations: 4 kB / 439 MB, free: 304 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000406/0.2792, allocations: 202.2 kB / 439.2 MB, free: 104 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001936/0.2811, allocations: 1.145 MB / 440.3 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005309/0.2816, allocations: 210.6 kB / 440.5 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000302/0.2819, allocations: 124.7 kB / 440.7 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.294e-05/0.282, allocations: 3.984 kB / 440.7 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003107/0.2823, allocations: 178.6 kB / 440.8 MB, free: 14.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.383e-06/0.2823, allocations: 0 / 440.8 MB, free: 14.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001472/0.2838, allocations: 0.5051 MB / 441.3 MB, free: 13.8 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001308/0.2839, allocations: 140.4 kB / 441.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002978/0.2842, allocations: 241 kB / 441.7 MB, free: 13.39 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.132e-05/0.2842, allocations: 29.7 kB / 441.7 MB, free: 13.36 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001471/0.2844, allocations: 176.6 kB / 441.9 MB, free: 13.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.563e-05/0.2844, allocations: 63.44 kB / 442 MB, free: 13.12 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.2845, allocations: 57.59 kB / 442 MB, free: 13.05 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.2847, allocations: 338.8 kB / 442.4 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000161/0.2849, allocations: 71.97 kB / 442.4 MB, free: 12.64 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002052/0.2851, allocations: 121.6 kB / 442.6 MB, free: 12.51 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003161/0.2854, allocations: 172 kB / 442.7 MB, free: 12.33 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.2854, allocations: 0 / 442.7 MB, free: 12.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005313/0.2859, allocations: 290.2 kB / 443 MB, free: 12.04 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.2859, allocations: 8 kB / 443 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.2859, allocations: 0 / 443 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000367/0.2863, allocations: 96.83 kB / 443.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.2864, allocations: 27.98 kB / 443.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002653/0.2891, allocations: 2.131 MB / 445.3 MB, free: 9.633 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002331/0.2893, allocations: 43.86 kB / 445.3 MB, free: 9.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.682e-05/0.2894, allocations: 8 kB / 445.3 MB, free: 9.582 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.0001869/0.2895, allocations: 149.8 kB / 445.5 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.266e-05/0.2896, allocations: 31.78 kB / 445.5 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.429e-05/0.2897, allocations: 34.17 kB / 445.5 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.2897, allocations: 0 / 445.5 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.2897, allocations: 0 / 445.5 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.2897, allocations: 4 kB / 445.5 MB, free: 9.355 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001063/0.2907, allocations: 0.7727 MB / 446.3 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-06/0.2907, allocations: 0 / 446.3 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.2908, allocations: 23.92 kB / 446.3 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002653/0.2911, allocations: 84.81 kB / 446.4 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.2911, allocations: 4 kB / 446.4 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002491/0.2936, allocations: 2.152 MB / 448.6 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.2936, allocations: 0 / 448.6 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007186/0.2943, allocations: 452.9 kB / 449 MB, free: 5.652 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001584/0.2945, allocations: 136.9 kB / 449.1 MB, free: 5.5 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.819e-05/0.2945, allocations: 4 kB / 449.1 MB, free: 5.496 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002043/0.2947, allocations: 19.98 kB / 449.2 MB, free: 5.477 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.2948, allocations: 31.95 kB / 449.2 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.578e-05/0.2949, allocations: 7.984 kB / 449.2 MB, free: 5.438 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002015/0.2951, allocations: 184.4 kB / 449.4 MB, free: 5.262 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2951, allocations: 0 / 449.4 MB, free: 5.262 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004847/0.2955, allocations: 91.89 kB / 449.5 MB, free: 5.172 MB / 350.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.0001651/0.2957, allocations: 107.2 kB / 449.6 MB, free: 5.059 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007268/0.2964, allocations: 342.3 kB / 449.9 MB, free: 4.711 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2964, allocations: 0 / 449.9 MB, free: 4.711 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004592/0.2969, allocations: 266.8 kB / 450.2 MB, free: 4.438 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000422/0.2973, allocations: 52.38 kB / 450.2 MB, free: 4.387 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001308/0.2986, allocations: 0.6433 MB / 450.9 MB, free: 3.711 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004518/0.2991, allocations: 0.7678 MB / 451.6 MB, free: 2.914 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.975e-05/0.2991, allocations: 19.44 kB / 451.7 MB, free: 2.895 MB / 350.1 MB Notification: Performance of SimCode: time 8.61e-07/0.2991, allocations: 4 kB / 451.7 MB, free: 2.891 MB / 350.1 MB Notification: Performance of Templates: time 0.008424/0.3076, allocations: 4.718 MB / 456.4 MB, free: 14.2 MB / 366.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: 7.558424801565707]