Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.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.00134/0.00134, 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.001458/0.001458, allocations: 214 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.406/1.406, allocations: 230.5 MB / 257.4 MB, free: 8.008 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.CharacteristicThyristors,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CharacteristicThyristors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CharacteristicThyristors,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CharacteristicThyristors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 59.91 kB / 377.8 MB, free: 2.988 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2685/0.2704, allocations: 53.4 MB / 431.2 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.005534/0.276, allocations: 4.033 MB / 435.2 MB, free: 2.617 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002897/0.2789, allocations: 1.647 MB / 436.9 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002567/0.2791, allocations: 11.94 kB / 436.9 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007746/0.2799, allocations: 258.8 kB / 437.1 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006551/0.2805, allocations: 310.1 kB / 437.4 MB, free: 400 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006221/0.2812, allocations: 266.6 kB / 437.7 MB, free: 136 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008423/0.282, allocations: 0.7281 MB / 438.4 MB, free: 15.4 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002449/0.2823, allocations: 118.4 kB / 438.5 MB, free: 15.28 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004385/0.2827, allocations: 306.9 kB / 438.8 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003985/0.2831, allocations: 306.7 kB / 439.1 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.014e-05/0.2832, allocations: 52 kB / 439.2 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002407/0.2834, allocations: 108 kB / 439.3 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001571/0.2836, allocations: 147.5 kB / 439.4 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003017/0.2839, allocations: 302.5 kB / 439.7 MB, free: 14.08 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008911/0.2848, allocations: 0.7191 MB / 440.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.2848, allocations: 0 / 440.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2848, allocations: 0 / 440.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.288e-06/0.2848, allocations: 3.938 kB / 440.5 MB, free: 13.36 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.00173/0.2865, allocations: 0.9005 MB / 441.4 MB, free: 12.42 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.2866, allocations: 8.031 kB / 441.4 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.211e-05/0.2866, allocations: 78.72 kB / 441.4 MB, free: 12.33 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000225/0.2869, allocations: 80.45 kB / 441.5 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005839/0.2875, allocations: 361.3 kB / 441.9 MB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.752e-05/0.2875, allocations: 37.38 kB / 441.9 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.242e-05/0.2876, allocations: 36.38 kB / 441.9 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007596/0.2883, allocations: 437.7 kB / 442.4 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.2883, allocations: 0 / 442.4 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.264e-05/0.2884, allocations: 24 kB / 442.4 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.2884, allocations: 8 kB / 442.4 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006485/0.289, allocations: 315.8 kB / 442.7 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00246/0.2915, allocations: 1.657 MB / 444.4 MB, free: 9.254 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006489/0.2921, allocations: 331 kB / 444.7 MB, free: 8.922 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003083/0.2924, allocations: 167.8 kB / 444.9 MB, free: 8.758 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.674e-05/0.2925, allocations: 4 kB / 444.9 MB, free: 8.754 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004674/0.293, allocations: 254.4 kB / 445.1 MB, free: 8.477 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 1.923e-06/0.293, allocations: 3.938 kB / 445.1 MB, free: 8.473 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002025/0.295, allocations: 0.7081 MB / 445.8 MB, free: 7.746 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/0.2951, allocations: 187.9 kB / 446 MB, free: 7.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006104/0.2957, allocations: 0.5057 MB / 446.5 MB, free: 7.012 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.66e-05/0.2958, allocations: 33.7 kB / 446.5 MB, free: 6.973 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002212/0.296, allocations: 272.7 kB / 446.8 MB, free: 6.699 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001062/0.2961, allocations: 123 kB / 446.9 MB, free: 6.578 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001298/0.2962, allocations: 78.12 kB / 447 MB, free: 6.496 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001751/0.2964, allocations: 358.8 kB / 447.4 MB, free: 6.137 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00026/0.2966, allocations: 120.8 kB / 447.5 MB, free: 6.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000369/0.297, allocations: 225.3 kB / 447.7 MB, free: 5.766 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004953/0.2975, allocations: 277.1 kB / 448 MB, free: 5.484 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.2975, allocations: 0 / 448 MB, free: 5.484 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008404/0.2984, allocations: 477 kB / 448.4 MB, free: 5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.2984, allocations: 4 kB / 448.4 MB, free: 4.996 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.2984, allocations: 4 kB / 448.4 MB, free: 4.992 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005152/0.2989, allocations: 159.3 kB / 448.6 MB, free: 4.824 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002187/0.2991, allocations: 47.98 kB / 448.6 MB, free: 4.777 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005698/0.3048, allocations: 6.241 MB / 454.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004356/0.3052, allocations: 51.78 kB / 454.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.36e-05/0.3053, allocations: 12 kB / 454.9 MB, free: 14.02 MB / 366.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: 16 ($PRE.booleanStep1.combiTimeTable.nextTimeEvent,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,IdealGTOThyristor2.off,IdealThyristor2.off,$PRE.IdealThyristor2.off,booleanStep1.combiTimeTable.nextTimeEventScaled,$PRE.booleanStep1.combiTimeTable.nextTimeEventScaled,booleanStep1.combiTimeTable.nextTimeEvent,IdealGTOThyristor1.off,IdealThyristor1.fire,IdealThyristor1.off,$PRE.IdealThyristor1.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,4), (1,4), (1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003059/0.3056, allocations: 189.8 kB / 455.1 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.7e-05/0.3057, allocations: 55.67 kB / 455.2 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001071/0.3068, allocations: 0.4973 MB / 455.7 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.3068, allocations: 4 kB / 455.7 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.3068, allocations: 0 / 455.7 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.3068, allocations: 4 kB / 455.7 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005869/0.3074, allocations: 480 kB / 456.2 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.3074, allocations: 0 / 456.2 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000131/0.3075, allocations: 24.03 kB / 456.2 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004344/0.3079, allocations: 167.4 kB / 456.3 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.543e-05/0.3079, allocations: 8 kB / 456.4 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005359/0.3133, allocations: 5.939 MB / 462.3 MB, free: 6.137 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.3133, allocations: 0 / 462.3 MB, free: 6.137 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001066/0.3144, allocations: 0.4996 MB / 462.8 MB, free: 5.605 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002133/0.3146, allocations: 83.5 kB / 462.9 MB, free: 5.523 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.753e-05/0.3147, allocations: 12 kB / 462.9 MB, free: 5.512 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002779/0.3149, allocations: 31.97 kB / 462.9 MB, free: 5.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001432/0.3151, allocations: 59.84 kB / 463 MB, free: 5.422 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.367e-05/0.3151, allocations: 15.98 kB / 463 MB, free: 5.406 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004723/0.3156, allocations: 367.1 kB / 463.3 MB, free: 5.055 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3156, allocations: 0 / 463.3 MB, free: 5.055 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008671/0.3164, allocations: 171.7 kB / 463.5 MB, free: 4.887 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$whenCondition1,IdealThyristor1.off,IdealThyristor1.fire,IdealGTOThyristor1.off,booleanStep1.combiTimeTable.nextTimeEvent,booleanStep1.combiTimeTable.nextTimeEventScaled,IdealThyristor2.off,IdealGTOThyristor2.off,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 4 (IdealThyristor1.off,IdealThyristor2.off,booleanStep1.combiTimeTable.nextTimeEvent,booleanStep1.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,4), (1,4), (1,4), (1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002774/0.3192, allocations: 1.373 MB / 464.9 MB, free: 3.613 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001305/0.3205, allocations: 0.7834 MB / 465.7 MB, free: 2.777 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.3205, allocations: 4.188 kB / 465.7 MB, free: 2.773 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000831/0.3214, allocations: 0.6313 MB / 466.3 MB, free: 2.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005557/0.3219, allocations: 130.8 kB / 466.4 MB, free: 1.973 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006235/0.3282, allocations: 4.301 MB / 470.7 MB, free: 13.54 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005394/0.3287, allocations: 0.8671 MB / 471.6 MB, free: 12.64 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001946/0.3289, allocations: 44.17 kB / 471.6 MB, free: 12.6 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002474/0.3291, allocations: 175.4 kB / 471.8 MB, free: 12.43 MB / 382.1 MB Notification: Performance of SimCode: time 1.483e-06/0.3291, allocations: 0 / 471.8 MB, free: 12.43 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05828/0.3874, allocations: 14.98 MB / 486.8 MB, free: 13.58 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.04/13.42, allocations: 12 kB / 486.8 MB, free: 13.57 MB / 398.1 MB " [Timeout remaining time 646] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.csv --start-time 0 --stop-time 6 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00118765 Modelica_trunk_Modelica_Electrical_Analog_Examples_CharacteristicThyristors.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CharacteristicThyristors/CharacteristicThyristors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable IdealThyristor1.off in file Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.csv. Warning: Get data of variable IdealThyristor1.off from file Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.csv failed! Error: Could not read variable IdealThyristor2.off in file Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.csv. Warning: Get data of variable IdealThyristor2.off from file Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.csv failed! Error: Could not read variable booleanStep1.y in file Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.csv. Warning: Get data of variable booleanStep1.y from file Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.03209592100029]