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.0009011/0.0009011, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 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.001264/0.001264, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8875/0.8875, allocations: 177 MB / 204.1 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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 1.844e-06/1.844e-06, allocations: 0 / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.915e-05/2.099e-05, allocations: 3.125 kB / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.IdealTriacCircuit): time 0.003007/0.003028, allocations: 2.755 MB / 327.3 MB, free: 13.1 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001077/0.004105, allocations: 0.7712 MB / 328 MB, free: 12.32 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001364/0.004241, allocations: 8 kB / 328.1 MB, free: 12.32 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001237/0.004365, allocations: 55.44 kB / 328.1 MB, free: 12.26 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001461/0.004511, allocations: 107 kB / 328.2 MB, free: 12.16 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003076/0.004819, allocations: 115.7 kB / 328.3 MB, free: 12.04 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003234/0.005142, allocations: 433.9 kB / 328.8 MB, free: 11.62 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001721/0.005315, allocations: 91.66 kB / 328.8 MB, free: 11.53 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002791/0.005594, allocations: 235.5 kB / 329.1 MB, free: 11.3 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000149/0.005743, allocations: 119.7 kB / 329.2 MB, free: 11.18 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.762e-05/0.00578, allocations: 40 kB / 329.2 MB, free: 11.14 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.008e-05/0.00585, allocations: 43.94 kB / 329.3 MB, free: 11.1 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.757e-05/0.005898, allocations: 79.73 kB / 329.3 MB, free: 11.02 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.941e-05/0.005987, allocations: 119.7 kB / 329.5 MB, free: 10.9 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006138/0.006601, allocations: 454.6 kB / 329.9 MB, free: 10.46 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.006607, allocations: 0 / 329.9 MB, free: 10.46 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.006609, allocations: 0 / 329.9 MB, free: 10.46 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.006617, allocations: 0 / 329.9 MB, free: 10.46 MB / 298.7 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.0007866/0.007403, allocations: 0.5528 MB / 330.5 MB, free: 9.875 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.007449, allocations: 11.98 kB / 330.5 MB, free: 9.863 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.434e-05/0.007504, allocations: 62.73 kB / 330.5 MB, free: 9.793 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001442/0.007648, allocations: 48.69 kB / 330.6 MB, free: 9.746 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003861/0.008034, allocations: 234.3 kB / 330.8 MB, free: 9.488 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.06e-05/0.008055, allocations: 16.88 kB / 330.8 MB, free: 9.473 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.039e-05/0.008095, allocations: 28.38 kB / 330.9 MB, free: 9.445 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004162/0.008511, allocations: 335.6 kB / 331.2 MB, free: 9.094 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.008522, allocations: 4.125 kB / 331.2 MB, free: 9.09 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.444e-05/0.008547, allocations: 12.12 kB / 331.2 MB, free: 9.078 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.926e-06/0.008556, allocations: 8 kB / 331.2 MB, free: 9.07 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002663/0.008822, allocations: 201.9 kB / 331.4 MB, free: 8.871 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001143/0.009965, allocations: 1.024 MB / 332.4 MB, free: 7.773 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003764/0.01034, allocations: 206.6 kB / 332.6 MB, free: 7.562 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002117/0.01055, allocations: 120.8 kB / 332.7 MB, free: 7.441 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.01057, allocations: 4 kB / 332.8 MB, free: 7.438 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002353/0.01081, allocations: 214.2 kB / 333 MB, free: 7.191 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 1.543e-06/0.01081, allocations: 0 / 333 MB, free: 7.191 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.0008576/0.01167, allocations: 468.8 kB / 333.4 MB, free: 6.727 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.823e-05/0.01174, allocations: 136.5 kB / 333.6 MB, free: 6.562 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001809/0.01192, allocations: 245.9 kB / 333.8 MB, free: 6.312 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.459e-05/0.01194, allocations: 29.7 kB / 333.8 MB, free: 6.277 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.587e-05/0.01203, allocations: 172.6 kB / 334 MB, free: 6.102 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.43e-05/0.01207, allocations: 79.36 kB / 334.1 MB, free: 6.023 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.001e-05/0.01213, allocations: 45.7 kB / 334.1 MB, free: 5.973 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.3e-05/0.01222, allocations: 334.8 kB / 334.4 MB, free: 5.637 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001049/0.01232, allocations: 71.97 kB / 334.5 MB, free: 5.566 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001388/0.01246, allocations: 176.5 kB / 334.7 MB, free: 5.363 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002/0.01266, allocations: 167.4 kB / 334.8 MB, free: 5.188 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.01266, allocations: 3.984 kB / 334.8 MB, free: 5.184 MB / 298.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003366/0.013, allocations: 286.2 kB / 335.1 MB, free: 4.895 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.01302, allocations: 7.938 kB / 335.1 MB, free: 4.887 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.01302, allocations: 0 / 335.1 MB, free: 4.887 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002502/0.01327, allocations: 100.7 kB / 335.2 MB, free: 4.785 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.324e-05/0.01336, allocations: 31.92 kB / 335.3 MB, free: 4.754 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001525/0.01488, allocations: 2.008 MB / 337.3 MB, free: 2.629 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001176/0.015, allocations: 31.83 kB / 337.3 MB, free: 2.598 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/0.01501, allocations: 8 kB / 337.3 MB, free: 2.59 MB / 298.7 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.0001177/0.01513, allocations: 149.8 kB / 337.5 MB, free: 2.434 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.458e-05/0.01515, allocations: 23.86 kB / 337.5 MB, free: 2.41 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.676e-05/0.01519, allocations: 34.27 kB / 337.5 MB, free: 2.379 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.0152, allocations: 7.938 kB / 337.5 MB, free: 2.371 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.0152, allocations: 0 / 337.5 MB, free: 2.371 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.0152, allocations: 0 / 337.5 MB, free: 2.371 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006038/0.01581, allocations: 0.7017 MB / 338.2 MB, free: 1.613 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.01581, allocations: 0 / 338.2 MB, free: 1.613 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.716e-05/0.01588, allocations: 19.94 kB / 338.2 MB, free: 1.594 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001664/0.01604, allocations: 96.86 kB / 338.3 MB, free: 1.496 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.01606, allocations: 8 kB / 338.3 MB, free: 1.488 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00139/0.01745, allocations: 2.016 MB / 340.4 MB, free: 15.36 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.01745, allocations: 4.125 kB / 340.4 MB, free: 15.35 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004243/0.01787, allocations: 450.7 kB / 340.8 MB, free: 14.89 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.612e-05/0.01794, allocations: 47.83 kB / 340.9 MB, free: 14.84 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.295e-05/0.01796, allocations: 15.88 kB / 340.9 MB, free: 14.83 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.573e-05/0.01806, allocations: 11.98 kB / 340.9 MB, free: 14.82 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.376e-05/0.01814, allocations: 35.94 kB / 340.9 MB, free: 14.78 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.01815, allocations: 8.109 kB / 340.9 MB, free: 14.77 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001166/0.01827, allocations: 185.2 kB / 341.1 MB, free: 14.6 MB / 314.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01827, allocations: 0 / 341.1 MB, free: 14.6 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003151/0.01858, allocations: 87.89 kB / 341.2 MB, free: 14.51 MB / 314.7 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.0006305/0.01921, allocations: 0.9852 MB / 342.2 MB, free: 13.5 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004824/0.0197, allocations: 354.4 kB / 342.5 MB, free: 13.14 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.0197, allocations: 0 / 342.5 MB, free: 13.14 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002363/0.01993, allocations: 254.4 kB / 342.8 MB, free: 12.88 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002898/0.02022, allocations: 60.64 kB / 342.8 MB, free: 12.82 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002433/0.02266, allocations: 2.746 MB / 345.6 MB, free: 9.953 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001183/0.02278, allocations: 163.7 kB / 345.7 MB, free: 9.777 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.648e-05/0.02285, allocations: 22.28 kB / 345.8 MB, free: 9.754 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.62e-05/0.02294, allocations: 84.47 kB / 345.8 MB, free: 9.672 MB / 314.7 MB Notification: Performance of SimCode: time 1.713e-06/0.02294, allocations: 0 / 345.8 MB, free: 9.672 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02821/0.05115, allocations: 8.294 MB / 354.1 MB, free: 1.527 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.654/7.705, allocations: 11.33 kB / 354.1 MB, free: 1.52 MB / 314.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/IdealTriacCircuit/IdealTriacCircuit.csv","/var/lib/jenkins/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] "" Variables in the reference:time,idealTriac.capacitor.v,idealTriac.idealThyristor.off,idealTriac.idealThyristor1.off Variables in the result:time,idealTriac.capacitor.v [Calling sys.exit(0), Time elapsed: 9.512787552550435]