Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.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.001358/0.001358, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002109/0.002109, allocations: 213.6 kB / 23.73 MB, free: 4.164 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.508/1.508, allocations: 230.5 MB / 257.4 MB, free: 7.801 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.DifferenceAmplifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_DifferenceAmplifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.DifferenceAmplifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_DifferenceAmplifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 59.89 kB / 377.7 MB, free: 2.801 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.253/0.2549, allocations: 53.41 MB / 431.2 MB, free: 6.426 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.007238/0.2621, allocations: 5.347 MB / 436.5 MB, free: 1.059 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003358/0.2655, allocations: 1.521 MB / 438 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006754/0.2662, allocations: 19.94 kB / 438 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000411/0.2666, allocations: 174.2 kB / 438.2 MB, free: 15.33 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006235/0.2672, allocations: 289.3 kB / 438.5 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000857/0.2681, allocations: 423.3 kB / 438.9 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001346/0.2694, allocations: 1.395 MB / 440.3 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004425/0.2699, allocations: 277.7 kB / 440.6 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006522/0.2705, allocations: 0.5062 MB / 441.1 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006178/0.2711, allocations: 0.4938 MB / 441.6 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001699/0.2713, allocations: 136 kB / 441.7 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002982/0.2716, allocations: 180 kB / 441.9 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000223/0.2718, allocations: 283 kB / 442.2 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004423/0.2723, allocations: 493.9 kB / 442.6 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001443/0.2737, allocations: 1.561 MB / 444.2 MB, free: 9.305 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2737, allocations: 0 / 444.2 MB, free: 9.305 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2737, allocations: 0 / 444.2 MB, free: 9.305 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.307e-05/0.2737, allocations: 0 / 444.2 MB, free: 9.305 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: 221 * Number of variables: 221 Notification: Performance of Generate backend data structure: time 0.002488/0.2762, allocations: 1.334 MB / 445.5 MB, free: 7.938 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.2763, allocations: 15.97 kB / 445.6 MB, free: 7.922 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001592/0.2764, allocations: 139.6 kB / 445.7 MB, free: 7.777 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003233/0.2767, allocations: 132.2 kB / 445.8 MB, free: 7.648 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008131/0.2776, allocations: 0.4978 MB / 446.3 MB, free: 7.125 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.862e-05/0.2776, allocations: 62.38 kB / 446.4 MB, free: 7.062 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000136/0.2777, allocations: 92.36 kB / 446.5 MB, free: 6.973 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001652/0.2794, allocations: 1.106 MB / 447.6 MB, free: 5.797 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.168e-05/0.2794, allocations: 4 kB / 447.6 MB, free: 5.793 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.369e-05/0.2795, allocations: 36 kB / 447.6 MB, free: 5.758 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.055e-05/0.2795, allocations: 23.98 kB / 447.6 MB, free: 5.734 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001658/0.2812, allocations: 0.855 MB / 448.5 MB, free: 4.883 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005445/0.2866, allocations: 2.881 MB / 451.4 MB, free: 1.879 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001185/0.2878, allocations: 0.6216 MB / 452 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007036/0.2885, allocations: 399 kB / 452.4 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.085e-05/0.2886, allocations: 8.656 kB / 452.4 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.596e-05/0.2886, allocations: 43.2 kB / 452.4 MB, free: 0.793 MB / 350.1 MB Notification: Performance of pre-optimization done (n=69): time 2.735e-06/0.2886, allocations: 7.938 kB / 452.4 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.004498/0.2931, allocations: 2.194 MB / 454.6 MB, free: 14.56 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.444e-05/0.2932, allocations: 64.06 kB / 454.7 MB, free: 14.49 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007428/0.2939, allocations: 0.6135 MB / 455.3 MB, free: 13.87 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.234e-05/0.294, allocations: 41.7 kB / 455.4 MB, free: 13.82 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003292/0.2943, allocations: 456.2 kB / 455.8 MB, free: 13.37 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002151/0.2945, allocations: 269.7 kB / 456.1 MB, free: 13.1 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002397/0.2947, allocations: 154.6 kB / 456.2 MB, free: 12.95 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001948/0.2949, allocations: 386.8 kB / 456.6 MB, free: 12.56 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006451/0.2956, allocations: 321.9 kB / 456.9 MB, free: 12.24 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007557/0.2963, allocations: 472.6 kB / 457.4 MB, free: 11.73 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001419/0.2978, allocations: 0.8047 MB / 458.2 MB, free: 10.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.2978, allocations: 4 kB / 458.2 MB, free: 10.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002147/0.2999, allocations: 1.115 MB / 459.3 MB, free: 9.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.2999, allocations: 4 kB / 459.3 MB, free: 9.746 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.2999, allocations: 4 kB / 459.3 MB, free: 9.742 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005254/0.3005, allocations: 183.2 kB / 459.5 MB, free: 9.562 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008652/0.3013, allocations: 203.8 kB / 459.7 MB, free: 9.363 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003854/0.3052, allocations: 2.756 MB / 462.4 MB, free: 6.496 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006459/0.3058, allocations: 36.05 kB / 462.5 MB, free: 6.461 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.54e-05/0.3059, allocations: 31.98 kB / 462.5 MB, free: 6.43 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (90): * Single equations (assignments): 89 * 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 {(5,13,72.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003736/0.3063, allocations: 226.6 kB / 462.7 MB, free: 6.199 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001411/0.3064, allocations: 87.47 kB / 462.8 MB, free: 6.113 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001769/0.3066, allocations: 95.25 kB / 462.9 MB, free: 6.012 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.3066, allocations: 12 kB / 462.9 MB, free: 6 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.748e-06/0.3066, allocations: 0 / 462.9 MB, free: 6 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/0.3066, allocations: 3.984 kB / 462.9 MB, free: 5.996 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009712/0.3076, allocations: 0.7084 MB / 463.6 MB, free: 5.246 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.3076, allocations: 3.938 kB / 463.6 MB, free: 5.242 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006959/0.3083, allocations: 147.8 kB / 463.8 MB, free: 5.098 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004925/0.3088, allocations: 180.7 kB / 463.9 MB, free: 4.918 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-05/0.3089, allocations: 27.92 kB / 464 MB, free: 4.891 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003674/0.3125, allocations: 2.756 MB / 466.7 MB, free: 2.031 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3125, allocations: 0 / 466.7 MB, free: 2.031 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002646/0.3152, allocations: 1.431 MB / 468.2 MB, free: 0.582 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001871/0.3154, allocations: 71.52 kB / 468.2 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001043/0.3155, allocations: 12 kB / 468.2 MB, free: 0.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006104/0.3161, allocations: 59.95 kB / 468.3 MB, free: 452 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001421/0.3162, allocations: 52.55 kB / 468.4 MB, free: 400 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.472e-05/0.3163, allocations: 23.98 kB / 468.4 MB, free: 376 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005776/0.3169, allocations: 431.1 kB / 468.8 MB, free: 15.95 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3169, allocations: 0 / 468.8 MB, free: 15.95 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009071/0.3178, allocations: 244 kB / 469 MB, free: 15.71 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (C1.v,C4.v,C5.v,C2.v,C3.v,Transistor1.ct.v,Transistor1.Tr.vcs,Transistor2.ct.v,Transistor2.Tr.vcs) * 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 (56): * Single equations (assignments): 55 * 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 {(5,13,72.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003439/0.3212, allocations: 2.004 MB / 471 MB, free: 13.67 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00253/0.3237, allocations: 0.9824 MB / 472 MB, free: 12.68 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.249e-06/0.3237, allocations: 0 / 472 MB, free: 12.68 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001444/0.3252, allocations: 0.6197 MB / 472.6 MB, free: 12.04 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009384/0.3261, allocations: 146.2 kB / 472.8 MB, free: 11.91 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01223/0.3383, allocations: 7.456 MB / 480.2 MB, free: 4.227 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004022/0.3388, allocations: 391.2 kB / 480.6 MB, free: 3.809 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004057/0.3392, allocations: 93.45 kB / 480.7 MB, free: 3.715 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004376/0.3396, allocations: 323.3 kB / 481 MB, free: 3.398 MB / 382.1 MB Notification: Performance of SimCode: time 1.232e-06/0.3396, allocations: 0 / 481 MB, free: 3.398 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08576/0.4254, allocations: 20.65 MB / 0.4899 GB, free: 15.05 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.01/12.44, allocations: 4.062 kB / 0.4899 GB, free: 15.05 MB / 414.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.csv --start-time 0 --stop-time 1e-08 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.9988e-12 Modelica_trunk_Modelica_Electrical_Analog_Examples_DifferenceAmplifier.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/DifferenceAmplifier/DifferenceAmplifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.csv. Warning: Get data of variable Time from file Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.csv failed! Error: Could not read variable Transistor1.ct.v in file Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.csv. Warning: Get data of variable Transistor1.ct.v from file Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.csv failed! Error: Could not read variable Transistor1.Tr.C.v in file Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.csv. Warning: Get data of variable Transistor1.Tr.C.v from file Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.csv failed! Error: Could not read variable Transistor2.ct.v in file Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.csv. Warning: Get data of variable Transistor2.ct.v from file Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.csv failed! Error: Could not read variable Transistor2.Tr.C.v in file Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.csv. Warning: Get data of variable Transistor2.Tr.C.v from file Modelica_trunk_Modelica.Electrical.Analog.Examples.DifferenceAmplifier_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.093959886115044]