Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.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: translateModel(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Ideal.v|With_Ron_Goff.v|With_Ron_Goff_Vknee.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes") translateModel(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Ideal.v|With_Ron_Goff.v|With_Ron_Goff_Vknee.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001111/0.00111, allocations: 106.6 kB / 18.4 MB, free: 4.66 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.001156/0.001156, allocations: 190.1 kB / 19.34 MB, free: 3.734 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.34/1.34, allocations: 205.1 MB / 225.2 MB, free: 12.18 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.001088/0.001088, allocations: 43.94 kB / 329.2 MB, free: 3.281 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08478/0.08588, allocations: 46.6 MB / 375.8 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes): time 0.004151/0.09006, allocations: 3.442 MB / 379.3 MB, free: 1.105 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001175/0.09126, allocations: 0.7991 MB / 380.1 MB, free: 304 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000151/0.09144, allocations: 7.938 kB / 380.1 MB, free: 296 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001698/0.09162, allocations: 71.34 kB / 380.1 MB, free: 224 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002092/0.09184, allocations: 130.8 kB / 380.3 MB, free: 92 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1573/0.2491, allocations: 106.8 kB / 380.4 MB, free: 10.38 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008208/0.25, allocations: 0.5034 MB / 380.9 MB, free: 10.38 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002349/0.2502, allocations: 137.4 kB / 381 MB, free: 10.36 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002173/0.2505, allocations: 186.1 kB / 381.2 MB, free: 10.34 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000239/0.2507, allocations: 211.6 kB / 381.4 MB, free: 10.3 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.157e-05/0.2508, allocations: 39.88 kB / 381.4 MB, free: 10.3 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.151e-05/0.2509, allocations: 39.88 kB / 381.5 MB, free: 10.3 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.036e-05/0.2509, allocations: 89.81 kB / 381.6 MB, free: 10.28 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001727/0.2511, allocations: 225.6 kB / 381.8 MB, free: 10.21 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004498/0.2516, allocations: 489.4 kB / 382.3 MB, free: 10.14 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.2516, allocations: 1.375 kB / 382.3 MB, free: 10.14 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.2516, allocations: 0 / 382.3 MB, free: 10.14 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.744e-06/0.2516, allocations: 3.5 kB / 382.3 MB, free: 10.14 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001107/0.2527, allocations: 0.7119 MB / 383 MB, free: 9.648 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/0.2528, allocations: 13.3 kB / 383 MB, free: 9.645 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001053/0.2529, allocations: 54.09 kB / 383 MB, free: 9.621 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004128/0.2533, allocations: 315.8 kB / 383.3 MB, free: 9.383 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.264e-05/0.2534, allocations: 32.28 kB / 383.4 MB, free: 9.383 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.719e-05/0.2534, allocations: 31.75 kB / 383.4 MB, free: 9.383 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006044/0.254, allocations: 352.4 kB / 383.8 MB, free: 9.309 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.2541, allocations: 8.469 kB / 383.8 MB, free: 9.301 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.372e-05/0.2541, allocations: 11.55 kB / 383.8 MB, free: 9.301 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.677e-05/0.2541, allocations: 8.406 kB / 383.8 MB, free: 9.301 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005235/0.2546, allocations: 271.7 kB / 384 MB, free: 9.27 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001735/0.2564, allocations: 1.408 MB / 385.5 MB, free: 8.27 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003994/0.2568, allocations: 217 kB / 385.7 MB, free: 8.176 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002011/0.257, allocations: 112 kB / 385.8 MB, free: 8.129 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.297e-05/0.257, allocations: 6.188 kB / 385.8 MB, free: 8.129 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.26e-05/0.2571, allocations: 36.75 kB / 385.8 MB, free: 8.086 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 1.873e-06/0.2571, allocations: 1.281 kB / 385.8 MB, free: 8.086 MB / 318.1 MB Notification: Performance of matching and sorting (n=24): time 0.0014/0.2585, allocations: 0.6974 MB / 386.5 MB, free: 7.621 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.679e-05/0.2585, allocations: 54.75 kB / 386.6 MB, free: 7.559 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002793/0.2588, allocations: 308.2 kB / 386.9 MB, free: 7.391 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.2588, allocations: 32.06 kB / 386.9 MB, free: 7.355 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.38e-05/0.2589, allocations: 209.5 kB / 387.1 MB, free: 7.184 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.236e-05/0.259, allocations: 73.73 kB / 387.2 MB, free: 7.129 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.994e-05/0.2591, allocations: 55.83 kB / 387.2 MB, free: 7.09 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.056e-05/0.2591, allocations: 342 kB / 387.6 MB, free: 6.762 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001873/0.2593, allocations: 80.09 kB / 387.6 MB, free: 6.738 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001995/0.2595, allocations: 120.8 kB / 387.8 MB, free: 6.668 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003655/0.2599, allocations: 200.5 kB / 388 MB, free: 6.562 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.2599, allocations: 0 / 388 MB, free: 6.562 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006613/0.2606, allocations: 355.8 kB / 388.3 MB, free: 6.406 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.2606, allocations: 5.859 kB / 388.3 MB, free: 6.406 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.2606, allocations: 1.25 kB / 388.3 MB, free: 6.406 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003814/0.261, allocations: 118 kB / 388.4 MB, free: 6.355 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/0.2612, allocations: 35.23 kB / 388.5 MB, free: 6.348 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002738/0.2639, allocations: 4.972 MB / 393.4 MB, free: 1.52 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002027/0.2642, allocations: 27.3 kB / 393.5 MB, free: 1.504 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.983e-05/0.2642, allocations: 10 kB / 393.5 MB, free: 1.5 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (Ideal.off,With_Ron_Goff.off,With_Ron_Goff_Vknee.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,4), (1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001237/0.2643, allocations: 146.4 kB / 393.6 MB, free: 1.367 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.744e-05/0.2644, allocations: 40.09 kB / 393.7 MB, free: 1.344 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.356e-05/0.2644, allocations: 34.7 kB / 393.7 MB, free: 1.32 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.2644, allocations: 10.06 kB / 393.7 MB, free: 1.312 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.2644, allocations: 0.875 kB / 393.7 MB, free: 1.312 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.564e-05/0.2645, allocations: 134.2 kB / 393.8 MB, free: 1.184 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.631e-05/0.2646, allocations: 5.188 kB / 393.8 MB, free: 1.18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002276/0.2648, allocations: 22.53 kB / 393.9 MB, free: 1.176 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.122e-05/0.2649, allocations: 15.06 kB / 393.9 MB, free: 1.172 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009127/0.2658, allocations: 422.8 kB / 394.3 MB, free: 0.957 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006498/0.2665, allocations: 0.5041 MB / 394.8 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001862/0.2667, allocations: 88.31 kB / 394.9 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001962/0.2669, allocations: 221.4 kB / 395.1 MB, free: 496 kB / 318.1 MB Notification: Performance of Backend: time 5.51e-07/0.2669, allocations: 0 / 395.1 MB, free: 496 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000893/0.2678, allocations: 0.5826 MB / 395.7 MB, free: 16 kB / 318.1 MB Notification: Performance of SimCode: time 0.001204/0.269, allocations: 1.144 MB / 396.8 MB, free: 15.14 MB / 334.1 MB Notification: Performance of Templates: time 0.01059/0.2796, allocations: 5.036 MB / 401.9 MB, free: 14.42 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CharacteristicIdealDiodes/CharacteristicIdealDiodes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches