Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 104.2 kB / 17.58 MB, free: 5.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001277/0.001278, allocations: 192 kB / 18.51 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.26/1.26, allocations: 205.1 MB / 224.4 MB, free: 12.31 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 51.92 kB / 280.7 MB, free: 3.074 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07515/0.07634, allocations: 46.63 MB / 327.4 MB, free: 4.375 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.007645/0.08402, allocations: 8.165 MB / 335.5 MB, free: 12.17 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01129/0.09533, allocations: 10.96 MB / 346.5 MB, free: 1.164 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007918/0.09621, allocations: 15.94 kB / 346.5 MB, free: 1.148 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00182/0.09803, allocations: 0.8289 MB / 347.3 MB, free: 320 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003105/0.1012, allocations: 1.211 MB / 348.6 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001777/0.1029, allocations: 0.6933 MB / 349.3 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003308/0.1063, allocations: 2.638 MB / 351.9 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004449/0.1067, allocations: 357.8 kB / 352.2 MB, free: 11.37 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005534/0.1073, allocations: 0.5169 MB / 352.8 MB, free: 10.85 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006218/0.1079, allocations: 0.6133 MB / 353.4 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001177/0.108, allocations: 68 kB / 353.4 MB, free: 10.17 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001408/0.1095, allocations: 0.7065 MB / 354.1 MB, free: 9.461 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001819/0.1096, allocations: 226.6 kB / 354.4 MB, free: 9.238 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006199/0.1103, allocations: 0.7647 MB / 355.1 MB, free: 8.469 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001999/0.1123, allocations: 2.109 MB / 357.2 MB, free: 6.352 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1123, allocations: 0 / 357.2 MB, free: 6.352 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1123, allocations: 0 / 357.2 MB, free: 6.352 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.321e-05/0.1123, allocations: 0 / 357.2 MB, free: 6.352 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.00306/0.1154, allocations: 2.2 MB / 359.4 MB, free: 4.09 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.1154, allocations: 16.03 kB / 359.5 MB, free: 4.074 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001074/0.1156, allocations: 106.6 kB / 359.6 MB, free: 3.961 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002138/0.1158, allocations: 218.3 kB / 359.8 MB, free: 3.746 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001471/0.1173, allocations: 1.308 MB / 361.1 MB, free: 2.363 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.823e-05/0.1173, allocations: 41.25 kB / 361.1 MB, free: 2.324 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.886e-05/0.1174, allocations: 52 kB / 361.2 MB, free: 2.273 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001146/0.1185, allocations: 0.6939 MB / 361.9 MB, free: 1.566 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.1186, allocations: 0 / 361.9 MB, free: 1.566 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.425e-05/0.1186, allocations: 23.94 kB / 361.9 MB, free: 1.543 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.854e-05/0.1187, allocations: 23.98 kB / 361.9 MB, free: 1.52 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001203/0.1199, allocations: 0.5672 MB / 362.5 MB, free: 0.9531 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003068/0.1229, allocations: 2.534 MB / 365 MB, free: 14.29 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001131/0.1241, allocations: 0.6232 MB / 365.6 MB, free: 13.65 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000822/0.1249, allocations: 0.5337 MB / 366.2 MB, free: 13.11 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008045/0.133, allocations: 7.492 MB / 373.7 MB, free: 4.484 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007537/0.1337, allocations: 374 kB / 374 MB, free: 4.109 MB / 318.1 MB Notification: Performance of pre-optimization done (n=67): time 2.395e-06/0.1338, allocations: 7.938 kB / 374 MB, free: 4.102 MB / 318.1 MB Notification: Performance of matching and sorting (n=67): time 0.005401/0.1392, allocations: 2.082 MB / 376.1 MB, free: 1.988 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.626e-05/0.1393, allocations: 85.55 kB / 376.2 MB, free: 1.887 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001617/0.1409, allocations: 1.431 MB / 377.6 MB, free: 428 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.616e-05/0.1409, allocations: 37.7 kB / 377.7 MB, free: 384 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1278/0.2687, allocations: 0.7992 MB / 378.5 MB, free: 54.85 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002739/0.2691, allocations: 229.2 kB / 378.7 MB, free: 54.78 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000212/0.2693, allocations: 142.1 kB / 378.8 MB, free: 54.76 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.465e-05/0.2693, allocations: 339.2 kB / 379.2 MB, free: 54.46 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006264/0.27, allocations: 249.7 kB / 379.4 MB, free: 54.45 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006927/0.2707, allocations: 457.9 kB / 379.9 MB, free: 54.23 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001317/0.272, allocations: 0.7361 MB / 380.6 MB, free: 53.8 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.675e-06/0.272, allocations: 1.688 kB / 380.6 MB, free: 53.8 MB / 318.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002444/0.2745, allocations: 1.13 MB / 381.7 MB, free: 53.32 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.2745, allocations: 9.781 kB / 381.7 MB, free: 53.32 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001269/0.2746, allocations: 78.67 kB / 381.8 MB, free: 53.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001255/0.2759, allocations: 0.702 MB / 382.5 MB, free: 53.2 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004619/0.2764, allocations: 110.7 kB / 382.6 MB, free: 53.19 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001162/0.2776, allocations: 1.121 MB / 383.7 MB, free: 52.41 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006758/0.2782, allocations: 88.05 kB / 383.8 MB, free: 52.36 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.571e-05/0.2783, allocations: 39.52 kB / 383.9 MB, free: 52.36 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 14 (VCC.counter,$PRE.VCC.counter,VEE.counter,$PRE.VEE.counter,VEE.counter2,$PRE.VEE.counter2,VEE.T0,$PRE.VEE.T0,VCC.counter2,$PRE.VCC.counter2,VCC.T0,$PRE.VCC.T0,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * 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 {(5,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0004885/0.2788, allocations: 287.1 kB / 384.1 MB, free: 52.14 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002076/0.279, allocations: 204.1 kB / 384.3 MB, free: 52.04 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002344/0.2814, allocations: 1.087 MB / 385.4 MB, free: 51.61 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.137e-05/0.2814, allocations: 7.297 kB / 385.4 MB, free: 51.61 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.2814, allocations: 0 / 385.4 MB, free: 51.61 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.2814, allocations: 6.422 kB / 385.4 MB, free: 51.61 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001143/0.2826, allocations: 0.9857 MB / 386.4 MB, free: 51.1 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001019/0.2827, allocations: 65.44 kB / 386.5 MB, free: 51.1 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003532/0.2831, allocations: 60.7 kB / 386.5 MB, free: 51.09 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001082/0.2842, allocations: 0.6686 MB / 387.2 MB, free: 50.98 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.944e-05/0.2842, allocations: 17.47 kB / 387.2 MB, free: 50.98 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001107/0.2853, allocations: 1.091 MB / 388.3 MB, free: 50.21 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.2853, allocations: 7.875 kB / 388.3 MB, free: 50.21 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002442/0.2878, allocations: 1.36 MB / 389.7 MB, free: 49.59 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003361/0.2881, allocations: 278.5 kB / 390 MB, free: 49.37 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000159/0.2883, allocations: 13.22 kB / 390 MB, free: 49.36 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004543/0.2888, allocations: 30 kB / 390 MB, free: 49.36 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000139/0.2889, allocations: 48.05 kB / 390.1 MB, free: 49.35 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.125e-05/0.289, allocations: 25.75 kB / 390.1 MB, free: 49.34 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001175/0.2901, allocations: 0.9468 MB / 391 MB, free: 48.96 MB / 318.1 MB Notification: Performance of sort global known variables: time 8.51e-07/0.2902, allocations: 5.312 kB / 391 MB, free: 48.96 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008426/0.291, allocations: 439.6 kB / 391.5 MB, free: 48.9 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Q1.vbe,Q1.vbc,Q2.vbe,Q2.vbc) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,VCC.T0,VCC.counter,VCC.counter2,VEE.T0,VEE.counter,VEE.counter2) * Number of discrete states: 4 (VEE.counter,VCC.counter,VEE.counter2,VCC.counter2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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 {(5,24)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003571/0.2946, allocations: 2.262 MB / 393.7 MB, free: 47.73 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00215/0.2968, allocations: 0.8669 MB / 394.6 MB, free: 47.43 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2968, allocations: 0 / 394.6 MB, free: 47.43 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001061/0.2978, allocations: 0.5353 MB / 395.1 MB, free: 47.23 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007079/0.2986, allocations: 185.8 kB / 395.3 MB, free: 47.13 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01302/0.3116, allocations: 12 MB / 407.3 MB, free: 35.99 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004543/0.3121, allocations: 1.22 MB / 408.5 MB, free: 34.74 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000496/0.3126, allocations: 156.8 kB / 408.7 MB, free: 34.59 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004769/0.3131, allocations: 0.6282 MB / 409.3 MB, free: 33.96 MB / 318.1 MB Notification: Performance of SimCode: time 9.02e-07/0.3131, allocations: 0 / 409.3 MB, free: 33.96 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4287/0.7417, allocations: 32.05 MB / 441.4 MB, free: 1.832 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.74/14.48, allocations: 8.625 kB / 441.4 MB, free: 1.824 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair.fmu > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/Spice3BenchmarkDifferentialPair/Spice3BenchmarkDifferentialPair.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches