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.00166/0.00166, allocations: 113.7 kB / 17.73 MB, free: 5.211 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.001913/0.001913, allocations: 183.1 kB / 18.66 MB, free: 4.281 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.362/1.362, allocations: 205.1 MB / 224.5 MB, free: 12.23 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.00204/0.00204, allocations: 55.91 kB / 328 MB, free: 3.809 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1076, allocations: 46.62 MB / 374.7 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.1927/0.3004, allocations: 8.17 MB / 382.8 MB, free: 8.805 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01132/0.3118, allocations: 10.96 MB / 393.8 MB, free: 1.484 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001299/0.3132, allocations: 55.66 kB / 393.8 MB, free: 1.457 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002058/0.3152, allocations: 0.8278 MB / 394.7 MB, free: 1 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00407/0.3193, allocations: 1.228 MB / 395.9 MB, free: 232 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00218/0.3215, allocations: 0.6913 MB / 396.6 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004736/0.3263, allocations: 2.641 MB / 399.2 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005497/0.3268, allocations: 352.4 kB / 399.6 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00102/0.3279, allocations: 0.537 MB / 400.1 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007572/0.3286, allocations: 0.6162 MB / 400.7 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001308/0.3288, allocations: 66.84 kB / 400.8 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002272/0.3311, allocations: 0.714 MB / 401.5 MB, free: 14 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002018/0.3313, allocations: 214.7 kB / 401.7 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007001/0.332, allocations: 0.7744 MB / 402.5 MB, free: 13.35 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002836/0.3349, allocations: 2.128 MB / 404.6 MB, free: 12.43 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.3349, allocations: 0 / 404.6 MB, free: 12.43 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3349, allocations: 5.219 kB / 404.6 MB, free: 12.43 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.718e-05/0.3349, allocations: 1.781 kB / 404.6 MB, free: 12.43 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: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.003999/0.3389, allocations: 2.278 MB / 406.9 MB, free: 10.89 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.339, allocations: 9.562 kB / 406.9 MB, free: 10.89 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001375/0.3391, allocations: 105.1 kB / 407 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002954/0.3395, allocations: 231 kB / 407.2 MB, free: 10.7 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001975/0.3414, allocations: 1.324 MB / 408.6 MB, free: 9.727 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.834e-05/0.3415, allocations: 40.22 kB / 408.6 MB, free: 9.707 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/0.3416, allocations: 60.33 kB / 408.7 MB, free: 9.684 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001269/0.3429, allocations: 0.6899 MB / 409.3 MB, free: 9.27 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.349e-05/0.3429, allocations: 1.25 kB / 409.3 MB, free: 9.27 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.77e-05/0.343, allocations: 21.12 kB / 409.4 MB, free: 9.254 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.064e-05/0.343, allocations: 17.38 kB / 409.4 MB, free: 9.25 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001314/0.3443, allocations: 0.5691 MB / 410 MB, free: 8.984 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003568/0.3479, allocations: 2.514 MB / 412.5 MB, free: 7.051 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001222/0.3491, allocations: 0.6168 MB / 413.1 MB, free: 6.699 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009074/0.3501, allocations: 0.5409 MB / 413.6 MB, free: 6.406 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009048/0.3591, allocations: 7.497 MB / 421.1 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008518/0.36, allocations: 388.5 kB / 421.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of pre-optimization done (n=67): time 2.785e-06/0.36, allocations: 0 / 421.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=67): time 0.005976/0.366, allocations: 2.096 MB / 423.6 MB, free: 13.38 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.764e-05/0.3661, allocations: 85.55 kB / 423.7 MB, free: 13.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002131/0.3682, allocations: 1.443 MB / 425.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.898e-05/0.3683, allocations: 37.7 kB / 425.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007356/0.3691, allocations: 0.7985 MB / 426 MB, free: 10.95 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001904/0.3693, allocations: 237.9 kB / 426.2 MB, free: 10.71 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002066/0.3695, allocations: 142.6 kB / 426.3 MB, free: 10.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.3696, allocations: 345.9 kB / 426.7 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000584/0.3702, allocations: 249.9 kB / 426.9 MB, free: 9.977 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007231/0.371, allocations: 466.2 kB / 427.4 MB, free: 9.438 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001398/0.3724, allocations: 0.7324 MB / 428.1 MB, free: 8.625 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.3724, allocations: 0 / 428.1 MB, free: 8.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00227/0.3747, allocations: 1.145 MB / 429.2 MB, free: 7.473 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.3747, allocations: 8 kB / 429.3 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001062/0.3748, allocations: 72 kB / 429.3 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001268/0.3761, allocations: 0.6953 MB / 430 MB, free: 6.699 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004618/0.3766, allocations: 116.6 kB / 430.1 MB, free: 6.586 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00135/0.3779, allocations: 1.124 MB / 431.3 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009418/0.3789, allocations: 91.48 kB / 431.3 MB, free: 5.348 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-05/0.379, allocations: 40 kB / 431.4 MB, free: 5.309 MB / 350.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.0005982/0.3796, allocations: 297.6 kB / 431.7 MB, free: 5.008 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004157/0.38, allocations: 210.7 kB / 431.9 MB, free: 4.801 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002459/0.3825, allocations: 1.086 MB / 433 MB, free: 3.703 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/0.3825, allocations: 8 kB / 433 MB, free: 3.695 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.3825, allocations: 0 / 433 MB, free: 3.695 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.3825, allocations: 0 / 433 MB, free: 3.695 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001582/0.3841, allocations: 0.9795 MB / 434 MB, free: 2.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.853e-05/0.3842, allocations: 68 kB / 434 MB, free: 2.594 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003554/0.3846, allocations: 63.88 kB / 434.1 MB, free: 2.531 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00124/0.3858, allocations: 0.6672 MB / 434.8 MB, free: 1.863 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.905e-05/0.3859, allocations: 27.92 kB / 434.8 MB, free: 1.836 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001316/0.3872, allocations: 1.096 MB / 435.9 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.3872, allocations: 0 / 435.9 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002644/0.3899, allocations: 1.356 MB / 437.2 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005503/0.3905, allocations: 291.5 kB / 437.5 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002951/0.3908, allocations: 13.94 kB / 437.5 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005715/0.3913, allocations: 39.89 kB / 437.6 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000141/0.3915, allocations: 44.38 kB / 437.6 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.89e-05/0.3916, allocations: 27.98 kB / 437.6 MB, free: 14.89 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001368/0.3929, allocations: 0.9488 MB / 438.6 MB, free: 13.93 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.605e-06/0.3929, allocations: 0 / 438.6 MB, free: 13.93 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001205/0.3941, allocations: 438.9 kB / 439 MB, free: 13.5 MB / 366.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.00386/0.398, allocations: 2.281 MB / 441.3 MB, free: 11.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002182/0.4002, allocations: 0.8584 MB / 442.2 MB, free: 10.31 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.4002, allocations: 0 / 442.2 MB, free: 10.31 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001226/0.4015, allocations: 0.5252 MB / 442.7 MB, free: 9.777 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/0.4025, allocations: 192.8 kB / 442.9 MB, free: 9.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01818/0.4207, allocations: 10.77 MB / 453.6 MB, free: 14.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008811/0.4216, allocations: 1.22 MB / 454.9 MB, free: 13.23 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004627/0.4221, allocations: 162.1 kB / 455 MB, free: 13.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006723/0.4228, allocations: 0.6282 MB / 455.6 MB, free: 12.44 MB / 382.1 MB Notification: Performance of SimCode: time 8.91e-07/0.4228, allocations: 4 kB / 455.6 MB, free: 12.44 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06623/0.489, allocations: 32.51 MB / 488.2 MB, free: 11.84 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.7/15.19, allocations: 0 / 488.2 MB, free: 11.84 MB / 414.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