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.001932/0.001932, allocations: 114 kB / 20.43 MB, free: 1.457 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.002339/0.002339, allocations: 214.4 kB / 23.74 MB, free: 4.672 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.47/1.47, allocations: 230.5 MB / 257.4 MB, free: 8.016 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.IdealTriacCircuit,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_IdealTriacCircuit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 55.91 kB / 377.8 MB, free: 3.004 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2681/0.2701, allocations: 53.41 MB / 431.2 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.IdealTriacCircuit): time 0.004801/0.2749, allocations: 2.98 MB / 434.2 MB, free: 3.695 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001544/0.2764, allocations: 0.8063 MB / 435 MB, free: 2.883 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001467/0.2766, allocations: 7.938 kB / 435 MB, free: 2.875 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001687/0.2767, allocations: 47.5 kB / 435 MB, free: 2.828 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000183/0.2769, allocations: 103.1 kB / 435.1 MB, free: 2.727 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000471/0.2774, allocations: 115.8 kB / 435.2 MB, free: 2.613 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006378/0.278, allocations: 418.3 kB / 435.6 MB, free: 2.203 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003279/0.2784, allocations: 91.67 kB / 435.7 MB, free: 2.109 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003992/0.2788, allocations: 163.5 kB / 435.9 MB, free: 1.949 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003644/0.2791, allocations: 163.2 kB / 436.1 MB, free: 1.789 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.426e-05/0.2792, allocations: 39.94 kB / 436.1 MB, free: 1.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001322/0.2793, allocations: 40 kB / 436.1 MB, free: 1.711 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001081/0.2795, allocations: 71.77 kB / 436.2 MB, free: 1.641 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002757/0.2797, allocations: 191.1 kB / 436.4 MB, free: 1.453 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007681/0.2805, allocations: 442.7 kB / 436.8 MB, free: 1.023 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2805, allocations: 0 / 436.8 MB, free: 1.023 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2805, allocations: 0 / 436.8 MB, free: 1.023 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.815e-06/0.2805, allocations: 4 kB / 436.8 MB, free: 1.02 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.001407/0.2819, allocations: 0.5489 MB / 437.4 MB, free: 452 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.423e-05/0.282, allocations: 12.03 kB / 437.4 MB, free: 440 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001128/0.2821, allocations: 62.72 kB / 437.4 MB, free: 368 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000245/0.2823, allocations: 44.7 kB / 437.5 MB, free: 324 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005975/0.2829, allocations: 227.1 kB / 437.7 MB, free: 68 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.525e-05/0.283, allocations: 24.86 kB / 437.7 MB, free: 44 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.463e-05/0.283, allocations: 28.38 kB / 437.8 MB, free: 16 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007575/0.2838, allocations: 287.7 kB / 438 MB, free: 15.72 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.2838, allocations: 0 / 438 MB, free: 15.72 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.44e-05/0.2838, allocations: 8 kB / 438.1 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.864e-05/0.2839, allocations: 8 kB / 438.1 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006151/0.2845, allocations: 205.8 kB / 438.3 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002573/0.287, allocations: 1.117 MB / 439.4 MB, free: 14.31 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007107/0.2878, allocations: 194.7 kB / 439.6 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004398/0.2882, allocations: 128.2 kB / 439.7 MB, free: 13.99 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.219e-05/0.2882, allocations: 3.984 kB / 439.7 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004345/0.2887, allocations: 170.7 kB / 439.9 MB, free: 13.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.873e-06/0.2887, allocations: 0 / 439.9 MB, free: 13.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.002022/0.2907, allocations: 445.9 kB / 440.3 MB, free: 13.35 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001196/0.2908, allocations: 132.5 kB / 440.4 MB, free: 13.19 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004377/0.2912, allocations: 245.1 kB / 440.7 MB, free: 12.94 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.247e-05/0.2913, allocations: 29.7 kB / 440.7 MB, free: 12.9 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001818/0.2915, allocations: 184.6 kB / 440.9 MB, free: 12.72 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/0.2916, allocations: 71.42 kB / 441 MB, free: 12.65 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/0.2917, allocations: 49.66 kB / 441 MB, free: 12.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001895/0.2919, allocations: 330.8 kB / 441.3 MB, free: 12.26 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002414/0.2921, allocations: 71.97 kB / 441.4 MB, free: 12.19 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002868/0.2924, allocations: 125.8 kB / 441.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004578/0.2929, allocations: 176 kB / 441.7 MB, free: 11.87 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.768e-06/0.2929, allocations: 3.938 kB / 441.7 MB, free: 11.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007736/0.2937, allocations: 282.2 kB / 442 MB, free: 11.58 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/0.2937, allocations: 12.09 kB / 442 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.2937, allocations: 0 / 442 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004934/0.2942, allocations: 96.78 kB / 442.1 MB, free: 11.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002001/0.2944, allocations: 31.86 kB / 442.1 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003391/0.2978, allocations: 2.039 MB / 444.1 MB, free: 9.281 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002712/0.298, allocations: 35.86 kB / 444.2 MB, free: 9.246 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.371e-05/0.2981, allocations: 7.984 kB / 444.2 MB, free: 9.238 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.0002219/0.2983, allocations: 149.8 kB / 444.3 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.43e-05/0.2984, allocations: 27.8 kB / 444.4 MB, free: 9.055 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.85e-05/0.2984, allocations: 34.27 kB / 444.4 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.614e-06/0.2984, allocations: 0 / 444.4 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.2984, allocations: 8.062 kB / 444.4 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.249e-06/0.2984, allocations: 0 / 444.4 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00144/0.2999, allocations: 0.7397 MB / 445.1 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.2999, allocations: 4 kB / 445.1 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001533/0.3, allocations: 12 kB / 445.2 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003814/0.3004, allocations: 96.81 kB / 445.3 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.357e-05/0.3005, allocations: 4 kB / 445.3 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003349/0.3038, allocations: 2.051 MB / 447.3 MB, free: 5.941 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3038, allocations: 0 / 447.3 MB, free: 5.941 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/0.3048, allocations: 456.6 kB / 447.8 MB, free: 5.477 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001334/0.3049, allocations: 47.81 kB / 447.8 MB, free: 5.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.682e-05/0.305, allocations: 4 kB / 447.8 MB, free: 5.426 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002594/0.3053, allocations: 19.98 kB / 447.8 MB, free: 5.406 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/0.3054, allocations: 31.94 kB / 447.9 MB, free: 5.375 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.905e-05/0.3054, allocations: 8 kB / 447.9 MB, free: 5.367 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002302/0.3056, allocations: 180.5 kB / 448 MB, free: 5.195 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3056, allocations: 0 / 448 MB, free: 5.195 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000784/0.3064, allocations: 91.83 kB / 448.1 MB, free: 5.105 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.00145/0.3079, allocations: 0.9866 MB / 449.1 MB, free: 4.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000977/0.3088, allocations: 346.4 kB / 449.5 MB, free: 3.738 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3088, allocations: 0 / 449.5 MB, free: 3.738 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005816/0.3094, allocations: 258.9 kB / 449.7 MB, free: 3.473 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006741/0.3101, allocations: 62.98 kB / 449.8 MB, free: 3.414 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005406/0.3155, allocations: 2.775 MB / 452.5 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005493/0.3161, allocations: 0.7678 MB / 453.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000133/0.3162, allocations: 18.28 kB / 453.3 MB, free: 15.72 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000166/0.3164, allocations: 87.41 kB / 453.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3164, allocations: 0 / 453.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04198/0.3583, allocations: 7.842 MB / 461.3 MB, free: 7.93 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.21/12.56, allocations: 2.5 kB / 461.3 MB, free: 7.93 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 & python3 -m fmpy simulate --output-file Modelica_trunk_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_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.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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit_res.csv. Warning: Get data of variable idealTriac.idealThyristor.off from file Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit_res.csv failed! Error: Could not read variable idealTriac.idealThyristor1.off in file Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit_res.csv. Warning: Get data of variable idealTriac.idealThyristor1.off from file Modelica_trunk_Modelica.Electrical.Analog.Examples.IdealTriacCircuit_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.187488737999956]