Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001277/0.001277, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.001459/0.001459, allocations: 216.5 kB / 24.53 MB, free: 4.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.442/1.442, allocations: 230.5 MB / 258.2 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.IdealTriacCircuit,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_IdealTriacCircuit",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.IdealTriacCircuit,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_IdealTriacCircuit",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001837/0.001837, allocations: 59.89 kB / 378.6 MB, free: 2.996 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2653/0.2671, allocations: 53.41 MB / 432 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.IdealTriacCircuit): time 0.004748/0.2719, allocations: 2.96 MB / 434.9 MB, free: 3.699 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001698/0.2736, allocations: 0.8257 MB / 435.8 MB, free: 2.867 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001775/0.2738, allocations: 4 kB / 435.8 MB, free: 2.863 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001904/0.274, allocations: 47.5 kB / 435.8 MB, free: 2.816 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002024/0.2742, allocations: 103.1 kB / 435.9 MB, free: 2.715 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003467/0.2745, allocations: 119.8 kB / 436 MB, free: 2.598 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004646/0.275, allocations: 422.3 kB / 436.4 MB, free: 2.184 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002153/0.2752, allocations: 83.69 kB / 436.5 MB, free: 2.098 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002627/0.2755, allocations: 163.4 kB / 436.7 MB, free: 1.938 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002378/0.2757, allocations: 159.3 kB / 436.8 MB, free: 1.781 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.345e-05/0.2757, allocations: 40 kB / 436.9 MB, free: 1.742 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.958e-05/0.2758, allocations: 36 kB / 436.9 MB, free: 1.707 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.096e-05/0.2759, allocations: 79.73 kB / 437 MB, free: 1.629 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001892/0.2761, allocations: 187.1 kB / 437.2 MB, free: 1.445 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005545/0.2767, allocations: 442.7 kB / 437.6 MB, free: 1.016 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.2767, allocations: 0 / 437.6 MB, free: 1.016 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.2767, allocations: 0 / 437.6 MB, free: 1.016 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.425e-06/0.2767, allocations: 0 / 437.6 MB, free: 1.016 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.00113/0.2778, allocations: 0.5567 MB / 438.2 MB, free: 440 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.2778, allocations: 11.97 kB / 438.2 MB, free: 428 kB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.797e-05/0.2779, allocations: 8.688 kB / 438.2 MB, free: 420 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.448e-05/0.2779, allocations: 58.73 kB / 438.2 MB, free: 352 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000172/0.2781, allocations: 48.69 kB / 438.3 MB, free: 304 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004066/0.2785, allocations: 227.1 kB / 438.5 MB, free: 48 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.2785, allocations: 24.88 kB / 438.5 MB, free: 24 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.21e-05/0.2786, allocations: 24.38 kB / 438.6 MB, free: 0 / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005179/0.2791, allocations: 283.6 kB / 438.8 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.2791, allocations: 0 / 438.8 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.912e-05/0.2791, allocations: 8 kB / 438.8 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.295e-06/0.2791, allocations: 8 kB / 438.8 MB, free: 15.69 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004087/0.2796, allocations: 205.8 kB / 439.1 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001789/0.2813, allocations: 1.117 MB / 440.2 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005135/0.2819, allocations: 202.6 kB / 440.4 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002977/0.2822, allocations: 124.4 kB / 440.5 MB, free: 13.97 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.478e-05/0.2822, allocations: 8 kB / 440.5 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002945/0.2825, allocations: 162.7 kB / 440.7 MB, free: 13.78 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.463e-06/0.2825, allocations: 0 / 440.7 MB, free: 13.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001389/0.2839, allocations: 449.9 kB / 441.1 MB, free: 13.33 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.345e-05/0.284, allocations: 136.5 kB / 441.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002632/0.2842, allocations: 241.1 kB / 441.5 MB, free: 12.92 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.923e-05/0.2843, allocations: 29.7 kB / 441.5 MB, free: 12.89 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000129/0.2844, allocations: 176.7 kB / 441.7 MB, free: 12.71 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.412e-05/0.2844, allocations: 67.44 kB / 441.7 MB, free: 12.64 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.435e-05/0.2845, allocations: 57.59 kB / 441.8 MB, free: 12.58 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.2847, allocations: 330.8 kB / 442.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001556/0.2849, allocations: 75.91 kB / 442.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002046/0.2851, allocations: 137.8 kB / 442.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002965/0.2854, allocations: 164 kB / 442.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.2854, allocations: 0 / 442.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005189/0.2859, allocations: 294.3 kB / 442.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.2859, allocations: 8 kB / 442.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.2859, allocations: 0 / 442.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003308/0.2862, allocations: 88.81 kB / 442.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001433/0.2864, allocations: 31.91 kB / 442.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002502/0.2889, allocations: 2.054 MB / 444.9 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002142/0.2891, allocations: 31.83 kB / 445 MB, free: 9.227 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.678e-05/0.2891, allocations: 4 kB / 445 MB, free: 9.223 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.0001675/0.2893, allocations: 149.8 kB / 445.1 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.62e-05/0.2893, allocations: 27.8 kB / 445.2 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.997e-05/0.2894, allocations: 34.27 kB / 445.2 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.2894, allocations: 8.062 kB / 445.2 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.083e-06/0.2894, allocations: 0 / 445.2 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.2894, allocations: 3.984 kB / 445.2 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009999/0.2904, allocations: 0.7358 MB / 445.9 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.2904, allocations: 4 kB / 445.9 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001081/0.2905, allocations: 15.98 kB / 446 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002728/0.2908, allocations: 96.83 kB / 446 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/0.2908, allocations: 0 / 446 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002355/0.2932, allocations: 2.047 MB / 448.1 MB, free: 5.926 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2932, allocations: 0 / 448.1 MB, free: 5.926 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007493/0.2939, allocations: 452.7 kB / 448.5 MB, free: 5.465 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.294, allocations: 47.78 kB / 448.6 MB, free: 5.418 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.123e-05/0.294, allocations: 8 kB / 448.6 MB, free: 5.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000201/0.2942, allocations: 15.98 kB / 448.6 MB, free: 5.395 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/0.2944, allocations: 35.92 kB / 448.6 MB, free: 5.359 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-05/0.2944, allocations: 16.14 kB / 448.7 MB, free: 5.344 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001813/0.2946, allocations: 180.4 kB / 448.8 MB, free: 5.172 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2946, allocations: 0 / 448.8 MB, free: 5.172 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000463/0.295, allocations: 91.83 kB / 448.9 MB, free: 5.082 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.001005/0.296, allocations: 0.9906 MB / 449.9 MB, free: 4.062 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007333/0.2968, allocations: 338.3 kB / 450.2 MB, free: 3.719 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2968, allocations: 0 / 450.2 MB, free: 3.719 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004107/0.2972, allocations: 262.8 kB / 450.5 MB, free: 3.449 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004275/0.2976, allocations: 64.84 kB / 450.6 MB, free: 3.395 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003843/0.3014, allocations: 2.78 MB / 453.3 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004145/0.3019, allocations: 0.7639 MB / 454.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001018/0.302, allocations: 22.28 kB / 454.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001298/0.3021, allocations: 87.41 kB / 454.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of SimCode: time 1.042e-06/0.3021, allocations: 4 kB / 454.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03364/0.3357, allocations: 7.86 MB / 462.1 MB, free: 7.887 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.5/12.84, allocations: 7.922 kB / 462.1 MB, free: 7.879 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_IdealTriacCircuit_fmu --startTime=0 --stopTime=2 --stepSize=0.00039604 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_IdealTriacCircuit.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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: 15.44097423000494]