Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.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.001351/0.001351, allocations: 131.4 kB / 17.8 MB, free: 5.219 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.001461/0.001461, allocations: 211.6 kB / 20.75 MB, free: 2.27 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.402/1.402, allocations: 230.4 MB / 254 MB, free: 15.18 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.CauerLowPassOPV,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00199/0.00199, allocations: 71.88 kB / 373 MB, free: 10.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1031, allocations: 53.36 MB / 426.4 MB, free: 4.594 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.007178/0.1103, allocations: 5.809 MB / 432.2 MB, free: 14.76 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002672/0.113, allocations: 1.2 MB / 433.4 MB, free: 13.55 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007201/0.1137, allocations: 23.94 kB / 433.4 MB, free: 13.53 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00059/0.1143, allocations: 174.3 kB / 433.6 MB, free: 13.36 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009514/0.1152, allocations: 277.4 kB / 433.9 MB, free: 13.09 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006269/0.1158, allocations: 223.7 kB / 434.1 MB, free: 12.87 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001476/0.1173, allocations: 1.064 MB / 435.2 MB, free: 11.8 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007033/0.118, allocations: 406.4 kB / 435.6 MB, free: 11.38 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005851/0.1186, allocations: 426.6 kB / 436 MB, free: 10.96 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007331/0.1193, allocations: 470 kB / 436.4 MB, free: 10.5 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001455/0.1195, allocations: 96 kB / 436.5 MB, free: 10.4 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001545/0.1196, allocations: 96 kB / 436.6 MB, free: 10.31 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001812/0.1198, allocations: 227.2 kB / 436.8 MB, free: 10.09 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004555/0.1203, allocations: 0.5016 MB / 437.3 MB, free: 9.582 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001104/0.1214, allocations: 1.113 MB / 438.5 MB, free: 8.465 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1214, allocations: 0 / 438.5 MB, free: 8.465 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1214, allocations: 3.938 kB / 438.5 MB, free: 8.461 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.171e-05/0.1214, allocations: 0 / 438.5 MB, free: 8.461 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.002001/0.1234, allocations: 1.258 MB / 439.7 MB, free: 7.148 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.1234, allocations: 8.031 kB / 439.7 MB, free: 7.141 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001661/0.1236, allocations: 148.1 kB / 439.9 MB, free: 6.988 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001588/0.1238, allocations: 112.3 kB / 440 MB, free: 6.879 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000676/0.1244, allocations: 455.4 kB / 440.4 MB, free: 6.398 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.842e-05/0.1245, allocations: 74.38 kB / 440.5 MB, free: 6.328 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001249/0.1246, allocations: 100.4 kB / 440.6 MB, free: 6.23 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001324/0.126, allocations: 0.8637 MB / 441.5 MB, free: 5.34 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/0.126, allocations: 3.938 kB / 441.5 MB, free: 5.336 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.623e-05/0.126, allocations: 40 kB / 441.5 MB, free: 5.297 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.129e-05/0.1261, allocations: 20 kB / 441.5 MB, free: 5.277 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009919/0.1271, allocations: 0.5778 MB / 442.1 MB, free: 4.703 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00418/0.1312, allocations: 2.958 MB / 445.1 MB, free: 1.625 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004235/0.1317, allocations: 278.1 kB / 445.3 MB, free: 1.344 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003393/0.132, allocations: 224.8 kB / 445.5 MB, free: 1.121 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.592e-05/0.132, allocations: 4 kB / 445.6 MB, free: 1.117 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.1321, allocations: 34.56 kB / 445.6 MB, free: 1.074 MB / 366.1 MB Notification: Performance of pre-optimization done (n=42): time 1.643e-06/0.1321, allocations: 4 kB / 445.6 MB, free: 1.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=42): time 0.001437/0.1335, allocations: 0.6512 MB / 446.2 MB, free: 400 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.1335, allocations: 59.34 kB / 446.3 MB, free: 328 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1811/0.3147, allocations: 0.5066 MB / 446.8 MB, free: 23.96 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.335e-05/0.3148, allocations: 36.52 kB / 446.8 MB, free: 23.93 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002592/0.315, allocations: 0.4914 MB / 447.3 MB, free: 23.75 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000107/0.3151, allocations: 164.1 kB / 447.5 MB, free: 23.67 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001916/0.3153, allocations: 136.3 kB / 447.6 MB, free: 23.65 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.985e-05/0.3154, allocations: 364.5 kB / 448 MB, free: 23.34 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003163/0.3157, allocations: 172.9 kB / 448.1 MB, free: 23.33 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003692/0.3161, allocations: 448.9 kB / 448.6 MB, free: 23 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006075/0.3167, allocations: 0.6499 MB / 449.2 MB, free: 22.68 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.303e-06/0.3167, allocations: 3.406 kB / 449.2 MB, free: 22.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00113/0.3178, allocations: 0.7584 MB / 450 MB, free: 22.58 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/0.3178, allocations: 11.81 kB / 450 MB, free: 22.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.638e-05/0.3179, allocations: 9.688 kB / 450 MB, free: 22.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002881/0.3181, allocations: 83.52 kB / 450.1 MB, free: 22.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006499/0.3188, allocations: 198.8 kB / 450.3 MB, free: 22.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001452/0.3202, allocations: 2.008 MB / 452.3 MB, free: 20.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000457/0.3207, allocations: 95.61 kB / 452.4 MB, free: 20.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.245e-05/0.3207, allocations: 31.97 kB / 452.4 MB, free: 20.74 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 88 * 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): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002332/0.321, allocations: 222.7 kB / 452.6 MB, free: 20.55 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.205e-05/0.3211, allocations: 58.36 kB / 452.7 MB, free: 20.52 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.466e-05/0.3212, allocations: 61.23 kB / 452.8 MB, free: 20.47 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.3212, allocations: 5.438 kB / 452.8 MB, free: 20.47 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.3212, allocations: 5.969 kB / 452.8 MB, free: 20.47 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.3212, allocations: 1.406 kB / 452.8 MB, free: 20.47 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006037/0.3218, allocations: 0.6399 MB / 453.4 MB, free: 20.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.3218, allocations: 1.375 kB / 453.4 MB, free: 20.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003909/0.3222, allocations: 101.5 kB / 453.5 MB, free: 20.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001977/0.3224, allocations: 68.95 kB / 453.6 MB, free: 20.08 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.332e-05/0.3224, allocations: 12.33 kB / 453.6 MB, free: 20.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00135/0.3237, allocations: 1.991 MB / 455.6 MB, free: 18.29 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3237, allocations: 0 / 455.6 MB, free: 18.29 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000892/0.3246, allocations: 0.661 MB / 456.2 MB, free: 17.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.197e-05/0.3247, allocations: 139.8 kB / 456.4 MB, free: 17.8 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.894e-05/0.3248, allocations: 15.75 kB / 456.4 MB, free: 17.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003904/0.3252, allocations: 39.97 kB / 456.4 MB, free: 17.78 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.211e-05/0.3253, allocations: 28.75 kB / 456.5 MB, free: 17.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.791e-05/0.3253, allocations: 18.48 kB / 456.5 MB, free: 17.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003632/0.3257, allocations: 343.3 kB / 456.8 MB, free: 17.61 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3257, allocations: 0 / 456.8 MB, free: 17.61 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008049/0.3265, allocations: 253.5 kB / 457.1 MB, free: 17.54 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C1.v,C2.v,C3.v,C4.v,C7.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * 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): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001092/0.3275, allocations: 1.223 MB / 458.3 MB, free: 16.64 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009698/0.3285, allocations: 0.5596 MB / 458.8 MB, free: 16.37 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.3285, allocations: 0.5 kB / 458.8 MB, free: 16.37 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004987/0.329, allocations: 303 kB / 459.1 MB, free: 16.2 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005847/0.3296, allocations: 119.4 kB / 459.3 MB, free: 16.16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00621/0.3358, allocations: 5.484 MB / 464.7 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003971/0.3362, allocations: 0.9272 MB / 465.7 MB, free: 11.91 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002971/0.3365, allocations: 71.39 kB / 465.7 MB, free: 11.9 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000246/0.3368, allocations: 266.7 kB / 466 MB, free: 11.69 MB / 366.1 MB Notification: Performance of SimCode: time 7.31e-07/0.3368, allocations: 0 / 466 MB, free: 11.69 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06002/0.3968, allocations: 12.93 MB / 478.9 MB, free: 7.777 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.22/10.61, allocations: 9.703 kB / 478.9 MB, free: 7.773 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0119904 Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassOPV.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.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: 13.166446564020589]