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.009443/0.009443, allocations: 109.2 kB / 21.98 MB, free: 5.184 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.002534/0.002534, allocations: 220 kB / 25.29 MB, free: 3.203 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.439/1.439, allocations: 230.6 MB / 259 MB, free: 8.031 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.002445/0.002445, allocations: 67.88 kB / 379.8 MB, free: 2.641 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2288/0.2312, allocations: 53.36 MB / 433.2 MB, free: 6.953 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.IdealTriacCircuit): time 0.00441/0.2356, allocations: 2.971 MB / 436.1 MB, free: 3.973 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001473/0.2371, allocations: 0.8063 MB / 437 MB, free: 3.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001513/0.2372, allocations: 4 kB / 437 MB, free: 3.156 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001604/0.2374, allocations: 51.44 kB / 437 MB, free: 3.105 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002034/0.2376, allocations: 107.1 kB / 437.1 MB, free: 3 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003206/0.2379, allocations: 107.8 kB / 437.2 MB, free: 2.895 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004714/0.2384, allocations: 414.2 kB / 437.6 MB, free: 2.488 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000206/0.2386, allocations: 91.67 kB / 437.7 MB, free: 2.395 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002627/0.2389, allocations: 163.4 kB / 437.9 MB, free: 2.234 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002409/0.2391, allocations: 163.3 kB / 438 MB, free: 2.074 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.305e-05/0.2392, allocations: 36 kB / 438.1 MB, free: 2.039 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.863e-05/0.2393, allocations: 47.94 kB / 438.1 MB, free: 1.992 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.908e-05/0.2393, allocations: 79.69 kB / 438.2 MB, free: 1.914 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000166/0.2395, allocations: 175.2 kB / 438.4 MB, free: 1.742 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004992/0.24, allocations: 439.6 kB / 438.8 MB, free: 1.316 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.24, allocations: 4 kB / 438.8 MB, free: 1.312 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.24, allocations: 0 / 438.8 MB, free: 1.312 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.683e-06/0.24, allocations: 0 / 438.8 MB, free: 1.312 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.001032/0.241, allocations: 0.5528 MB / 439.3 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.2411, allocations: 12.03 kB / 439.4 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001772/0.2413, allocations: 48.69 kB / 439.4 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004162/0.2417, allocations: 234.8 kB / 439.6 MB, free: 424 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/0.2417, allocations: 20.88 kB / 439.7 MB, free: 404 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.482e-05/0.2417, allocations: 28.36 kB / 439.7 MB, free: 376 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005255/0.2423, allocations: 287.9 kB / 440 MB, free: 72 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.2423, allocations: 0 / 440 MB, free: 72 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.696e-05/0.2423, allocations: 8 kB / 440 MB, free: 64 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.2423, allocations: 8 kB / 440 MB, free: 56 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004344/0.2428, allocations: 205.9 kB / 440.2 MB, free: 15.85 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001761/0.2445, allocations: 1.109 MB / 441.3 MB, free: 14.67 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005334/0.2451, allocations: 211 kB / 441.5 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003044/0.2454, allocations: 128.7 kB / 441.6 MB, free: 14.33 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.697e-05/0.2454, allocations: 4 kB / 441.6 MB, free: 14.33 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002954/0.2457, allocations: 166.7 kB / 441.8 MB, free: 14.14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.553e-06/0.2457, allocations: 0 / 441.8 MB, free: 14.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.00137/0.247, allocations: 444.2 kB / 442.2 MB, free: 13.7 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.973e-05/0.2471, allocations: 140.5 kB / 442.4 MB, free: 13.53 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002807/0.2474, allocations: 245.1 kB / 442.6 MB, free: 13.28 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.144e-05/0.2475, allocations: 33.69 kB / 442.6 MB, free: 13.24 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000134/0.2476, allocations: 168.7 kB / 442.8 MB, free: 13.07 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.536e-05/0.2477, allocations: 71.42 kB / 442.9 MB, free: 13 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.833e-05/0.2477, allocations: 49.66 kB / 442.9 MB, free: 12.95 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.2479, allocations: 334.8 kB / 443.2 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001603/0.2481, allocations: 71.97 kB / 443.3 MB, free: 12.54 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001989/0.2483, allocations: 121.9 kB / 443.4 MB, free: 12.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000324/0.2486, allocations: 175.3 kB / 443.6 MB, free: 12.22 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.145e-06/0.2486, allocations: 0 / 443.6 MB, free: 12.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000547/0.2491, allocations: 290.1 kB / 443.9 MB, free: 11.93 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.2492, allocations: 8 kB / 443.9 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.2492, allocations: 0 / 443.9 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003337/0.2495, allocations: 92.8 kB / 444 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001319/0.2496, allocations: 27.92 kB / 444 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002444/0.2521, allocations: 2.047 MB / 446.1 MB, free: 9.637 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002182/0.2523, allocations: 39.8 kB / 446.1 MB, free: 9.598 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.586e-05/0.2523, allocations: 4.109 kB / 446.1 MB, free: 9.594 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.0001635/0.2525, allocations: 150.7 kB / 446.2 MB, free: 9.438 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.628e-05/0.2525, allocations: 31.86 kB / 446.3 MB, free: 9.406 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.608e-05/0.2526, allocations: 34.27 kB / 446.3 MB, free: 9.375 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.2526, allocations: 0 / 446.3 MB, free: 9.375 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.2526, allocations: 4 kB / 446.3 MB, free: 9.371 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.241e-05/0.2526, allocations: 3.984 kB / 446.3 MB, free: 9.367 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/0.2536, allocations: 0.7356 MB / 447.1 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.2536, allocations: 4 kB / 447.1 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001073/0.2537, allocations: 20.02 kB / 447.1 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002609/0.254, allocations: 92.73 kB / 447.2 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/0.254, allocations: 4 kB / 447.2 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002352/0.2564, allocations: 2.05 MB / 449.2 MB, free: 6.293 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.2564, allocations: 3.938 kB / 449.2 MB, free: 6.289 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007125/0.2571, allocations: 441.7 kB / 449.7 MB, free: 5.836 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.2572, allocations: 55.69 kB / 449.7 MB, free: 5.781 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.848e-05/0.2572, allocations: 8 kB / 449.7 MB, free: 5.773 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001928/0.2574, allocations: 19.98 kB / 449.7 MB, free: 5.754 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.874e-05/0.2575, allocations: 36 kB / 449.8 MB, free: 5.719 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.545e-05/0.2575, allocations: 8 kB / 449.8 MB, free: 5.711 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001932/0.2577, allocations: 176.5 kB / 450 MB, free: 5.543 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2577, allocations: 0 / 450 MB, free: 5.543 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004441/0.2582, allocations: 91.88 kB / 450 MB, free: 5.453 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.0001309/0.2583, allocations: 107.1 kB / 450.2 MB, free: 5.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006946/0.259, allocations: 350.3 kB / 450.5 MB, free: 4.984 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.259, allocations: 0 / 450.5 MB, free: 4.984 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004111/0.2594, allocations: 257.3 kB / 450.7 MB, free: 4.723 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004159/0.2598, allocations: 56.67 kB / 450.8 MB, free: 4.668 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.261, allocations: 0.6352 MB / 451.4 MB, free: 4 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003982/0.2614, allocations: 0.7678 MB / 452.2 MB, free: 3.207 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.455e-05/0.2615, allocations: 19.42 kB / 452.2 MB, free: 3.188 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.2615, allocations: 4 kB / 452.2 MB, free: 3.184 MB / 350.1 MB Notification: Performance of Templates: time 0.007219/0.2687, allocations: 4.716 MB / 456.9 MB, free: 14.49 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/IdealTriacCircuit/IdealTriacCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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.695851076161489]