Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001743/0.001743, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002107/0.002107, allocations: 217.2 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.482/1.482, allocations: 230.6 MB / 257.5 MB, free: 8 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+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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.IdealTriacCircuit,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_IdealTriacCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.IdealTriacCircuit,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_IdealTriacCircuit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001584/0.001584, allocations: 43.92 kB / 377.8 MB, free: 3.117 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.27/0.2715, allocations: 53.36 MB / 431.1 MB, free: 6.855 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.IdealTriacCircuit): time 0.004792/0.2763, allocations: 2.972 MB / 434.1 MB, free: 3.871 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001549/0.2779, allocations: 0.8156 MB / 434.9 MB, free: 3.051 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001612/0.278, allocations: 7.938 kB / 434.9 MB, free: 3.043 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001987/0.2782, allocations: 51.5 kB / 435 MB, free: 2.992 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000204/0.2784, allocations: 95.12 kB / 435.1 MB, free: 2.898 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003672/0.2788, allocations: 123.8 kB / 435.2 MB, free: 2.777 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000463/0.2793, allocations: 406.3 kB / 435.6 MB, free: 2.379 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002383/0.2795, allocations: 95.67 kB / 435.7 MB, free: 2.281 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002627/0.2798, allocations: 155.5 kB / 435.8 MB, free: 2.129 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002474/0.28, allocations: 167.2 kB / 436 MB, free: 1.965 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.347e-05/0.2801, allocations: 36 kB / 436 MB, free: 1.93 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.363e-05/0.2802, allocations: 44 kB / 436.1 MB, free: 1.887 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.74e-05/0.2802, allocations: 75.75 kB / 436.2 MB, free: 1.812 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001841/0.2804, allocations: 183.1 kB / 436.3 MB, free: 1.633 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005382/0.281, allocations: 442.2 kB / 436.8 MB, free: 1.199 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.281, allocations: 0 / 436.8 MB, free: 1.199 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.281, allocations: 4 kB / 436.8 MB, free: 1.195 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.656e-06/0.281, allocations: 0 / 436.8 MB, free: 1.195 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.001052/0.282, allocations: 0.5489 MB / 437.3 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.2821, allocations: 12.03 kB / 437.3 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.962e-05/0.2822, allocations: 62.72 kB / 437.4 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001893/0.2824, allocations: 48.69 kB / 437.4 MB, free: 500 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004395/0.2828, allocations: 230.8 kB / 437.7 MB, free: 240 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/0.2828, allocations: 16.88 kB / 437.7 MB, free: 224 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.38e-05/0.2829, allocations: 24.38 kB / 437.7 MB, free: 200 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005343/0.2834, allocations: 291.7 kB / 438 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.2834, allocations: 0 / 438 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.12e-05/0.2835, allocations: 12 kB / 438 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.2835, allocations: 8 kB / 438 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004173/0.2839, allocations: 205.8 kB / 438.2 MB, free: 15.67 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001814/0.2857, allocations: 1.113 MB / 439.3 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000503/0.2862, allocations: 194.7 kB / 439.5 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002941/0.2865, allocations: 132.7 kB / 439.6 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.29e-05/0.2865, allocations: 0 / 439.6 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003051/0.2868, allocations: 172.5 kB / 439.8 MB, free: 13.96 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.523e-06/0.2868, allocations: 0 / 439.8 MB, free: 13.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001368/0.2882, allocations: 447.5 kB / 440.2 MB, free: 13.52 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/0.2883, allocations: 132.5 kB / 440.4 MB, free: 13.36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002749/0.2886, allocations: 241.1 kB / 440.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.166e-05/0.2886, allocations: 37.64 kB / 440.7 MB, free: 13.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001384/0.2887, allocations: 180.5 kB / 440.8 MB, free: 12.89 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.864e-05/0.2888, allocations: 75.38 kB / 440.9 MB, free: 12.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.373e-05/0.2889, allocations: 49.7 kB / 440.9 MB, free: 12.76 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.289, allocations: 334.8 kB / 441.3 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001531/0.2892, allocations: 75.97 kB / 441.3 MB, free: 12.35 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001899/0.2894, allocations: 121.8 kB / 441.5 MB, free: 12.21 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002948/0.2897, allocations: 172 kB / 441.6 MB, free: 12.04 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2897, allocations: 0 / 441.6 MB, free: 12.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005017/0.2902, allocations: 290.1 kB / 441.9 MB, free: 11.74 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.2902, allocations: 4 kB / 441.9 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.2902, allocations: 0 / 441.9 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003313/0.2905, allocations: 92.89 kB / 442 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001347/0.2907, allocations: 35.92 kB / 442 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002403/0.2931, allocations: 2.035 MB / 444.1 MB, free: 9.457 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002129/0.2933, allocations: 31.92 kB / 444.1 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.968e-05/0.2933, allocations: 16 kB / 444.1 MB, free: 9.41 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.00017/0.2935, allocations: 149.8 kB / 444.3 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.41e-05/0.2935, allocations: 31.73 kB / 444.3 MB, free: 9.223 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.016e-05/0.2936, allocations: 30.27 kB / 444.3 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.2936, allocations: 4 kB / 444.3 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.2936, allocations: 0 / 444.3 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.2936, allocations: 0 / 444.3 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001044/0.2946, allocations: 0.7445 MB / 445.1 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.2946, allocations: 0 / 445.1 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001142/0.2948, allocations: 19.98 kB / 445.1 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002481/0.295, allocations: 84.81 kB / 445.2 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.437e-05/0.295, allocations: 7.984 kB / 445.2 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002239/0.2973, allocations: 2.043 MB / 447.2 MB, free: 6.117 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.2973, allocations: 3.984 kB / 447.2 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006776/0.298, allocations: 453.4 kB / 447.7 MB, free: 5.652 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.884e-05/0.2981, allocations: 55.94 kB / 447.7 MB, free: 5.598 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.659e-05/0.2981, allocations: 4.094 kB / 447.7 MB, free: 5.594 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001905/0.2983, allocations: 23.92 kB / 447.8 MB, free: 5.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.2984, allocations: 35.94 kB / 447.8 MB, free: 5.535 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/0.2984, allocations: 4 kB / 447.8 MB, free: 5.531 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001703/0.2986, allocations: 176.5 kB / 448 MB, free: 5.363 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2986, allocations: 0 / 448 MB, free: 5.363 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004488/0.299, allocations: 95.83 kB / 448.1 MB, free: 5.27 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.00098/0.3, allocations: 0.9861 MB / 449.1 MB, free: 4.254 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006726/0.3007, allocations: 358.4 kB / 449.4 MB, free: 3.891 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3007, allocations: 0 / 449.4 MB, free: 3.891 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003959/0.3011, allocations: 254.5 kB / 449.7 MB, free: 3.629 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004026/0.3015, allocations: 55.47 kB / 449.7 MB, free: 3.578 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003722/0.3052, allocations: 2.78 MB / 452.5 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004636/0.3057, allocations: 0.7639 MB / 453.3 MB, free: 15.91 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.72e-05/0.3058, allocations: 18.3 kB / 453.3 MB, free: 15.89 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001231/0.3059, allocations: 83.41 kB / 453.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of SimCode: time 6.52e-07/0.3059, allocations: 0 / 453.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0402/0.3461, allocations: 7.841 MB / 461.2 MB, free: 8.148 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.28/12.63, allocations: 6.172 kB / 461.2 MB, free: 8.145 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039604 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_IdealTriacCircuit.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit_res.csv","/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_Modelica.Electrical.Analog.Examples.IdealTriacCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable idealTriac.idealThyristor.off in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit_res.csv. Warning: Get data of variable idealTriac.idealThyristor.off from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit_res.csv failed! Error: Could not read variable idealTriac.idealThyristor1.off in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit_res.csv. Warning: Get data of variable idealTriac.idealThyristor1.off from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.IdealTriacCircuit_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.239997525000945]